]> git.sur5r.net Git - freertos/commitdiff
Continued V850 development.
authorRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 29 Jan 2009 21:26:43 +0000 (21:26 +0000)
committerRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 29 Jan 2009 21:26:43 +0000 (21:26 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@650 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/portable/IAR/V850ES/portasm_Hx2.s85

index 20e1e6251b96c4e1ad6fe8684a341978cf1a8568..8619f90394a3a9f8971efcbb6f6041a988a7f78f 100644 (file)
 \r
 ; Tick ISR Prototype\r
 ;------------------------------------------------------------------------------\r
-        PUBWEAK `??MD_INTTM0EQ0??INTVEC 640`\r
+        PUBWEAK `??MD_INTTM0EQ0??INTVEC 544`\r
         PUBLIC MD_INTTM0EQ0\r
 \r
 MD_INTTM0EQ0        SYMBOL "MD_INTTM0EQ0"\r
-`??MD_INTTM0EQ0??INTVEC 640` SYMBOL "??INTVEC 640", MD_INTTM0EQ0\r
+`??MD_INTTM0EQ0??INTVEC 544` SYMBOL "??INTVEC 544", MD_INTTM0EQ0\r
 \r
 ;------------------------------------------------------------------------------\r
 ;   portSAVE_CONTEXT MACRO\r
@@ -285,8 +285,8 @@ MD_INTTM0EQ0:
 \r
 ;------------------------------------------------------------------------------\r
         COMMON INTVEC:CODE:ROOT(2)\r
-        ORG 640\r
-`??MD_INTTM0EQ0??INTVEC 640`:\r
+        ORG 544\r
+`??MD_INTTM0EQ0??INTVEC 544`:\r
         JR MD_INTTM0EQ0\r
 \r
         RSEG NEAR_ID:CONST:SORT:NOROOT(2)\r
@@ -316,5 +316,40 @@ MD_INTTM0EQ0:
       DB CG_SECURITY9\r
 \r
 \r
+; set microcontroller Option bytes\r
+\r
+      COMMON INTVEC:CODE:ROOT(2)\r
+      ORG 122\r
+`OPTBYTES`:\r
+      DB 0xFD\r
+      DB 0xFF\r
+      DB 0xFF\r
+      DB 0xFF\r
+      DB 0xFF\r
+      DB 0xFF\r
+\r
+#if configOCD_USAGE == 1\r
+\r
+      COMMON   INTVEC:CODE:ROOT(4)\r
+      ORG      0x230\r
+      PUBLIC ROM_INT2\r
+ROM_INT2:\r
+      DB 0xff, 0xff, 0xff, 0xff\r
+      DB 0xff, 0xff, 0xff, 0xff\r
+      DB 0xff, 0xff, 0xff, 0xff\r
+      DB 0xff, 0xff, 0xff, 0xff\r
+\r
+\r
+      COMMON   INTVEC:CODE:ROOT(4)\r
+      ORG      0x60\r
+      PUBLIC   ROM_INT\r
+ROM_INT:\r
+      DB 0xff, 0xff, 0xff, 0xff\r
+      DB 0xff, 0xff, 0xff, 0xff\r
+      DB 0xff, 0xff, 0xff, 0xff\r
+      DB 0xff, 0xff, 0xff, 0xff\r
+\r
+#endif /* configOCD_USAGE */\r
+\r
       END\r
 \r