From: RichardBarry Date: Thu, 29 Jan 2009 21:26:43 +0000 (+0000) Subject: Continued V850 development. X-Git-Tag: V5.1.2~46 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=689daf33acb702df621ad73a2bce4a0c0859ace9;p=freertos Continued V850 development. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@650 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Source/portable/IAR/V850ES/portasm_Hx2.s85 b/Source/portable/IAR/V850ES/portasm_Hx2.s85 index 20e1e6251..8619f9039 100644 --- a/Source/portable/IAR/V850ES/portasm_Hx2.s85 +++ b/Source/portable/IAR/V850ES/portasm_Hx2.s85 @@ -63,11 +63,11 @@ ; Tick ISR Prototype ;------------------------------------------------------------------------------ - PUBWEAK `??MD_INTTM0EQ0??INTVEC 640` + PUBWEAK `??MD_INTTM0EQ0??INTVEC 544` PUBLIC MD_INTTM0EQ0 MD_INTTM0EQ0 SYMBOL "MD_INTTM0EQ0" -`??MD_INTTM0EQ0??INTVEC 640` SYMBOL "??INTVEC 640", MD_INTTM0EQ0 +`??MD_INTTM0EQ0??INTVEC 544` SYMBOL "??INTVEC 544", MD_INTTM0EQ0 ;------------------------------------------------------------------------------ ; portSAVE_CONTEXT MACRO @@ -285,8 +285,8 @@ MD_INTTM0EQ0: ;------------------------------------------------------------------------------ COMMON INTVEC:CODE:ROOT(2) - ORG 640 -`??MD_INTTM0EQ0??INTVEC 640`: + ORG 544 +`??MD_INTTM0EQ0??INTVEC 544`: JR MD_INTTM0EQ0 RSEG NEAR_ID:CONST:SORT:NOROOT(2) @@ -316,5 +316,40 @@ MD_INTTM0EQ0: DB CG_SECURITY9 +; set microcontroller Option bytes + + COMMON INTVEC:CODE:ROOT(2) + ORG 122 +`OPTBYTES`: + DB 0xFD + DB 0xFF + DB 0xFF + DB 0xFF + DB 0xFF + DB 0xFF + +#if configOCD_USAGE == 1 + + COMMON INTVEC:CODE:ROOT(4) + ORG 0x230 + PUBLIC ROM_INT2 +ROM_INT2: + DB 0xff, 0xff, 0xff, 0xff + DB 0xff, 0xff, 0xff, 0xff + DB 0xff, 0xff, 0xff, 0xff + DB 0xff, 0xff, 0xff, 0xff + + + COMMON INTVEC:CODE:ROOT(4) + ORG 0x60 + PUBLIC ROM_INT +ROM_INT: + DB 0xff, 0xff, 0xff, 0xff + DB 0xff, 0xff, 0xff, 0xff + DB 0xff, 0xff, 0xff, 0xff + DB 0xff, 0xff, 0xff, 0xff + +#endif /* configOCD_USAGE */ + END