]> git.sur5r.net Git - freertos/blobdiff - Demo/CORTEX_LM3S811_IAR/startup.c
Update the Cortex-M3 IAR projects to compile with EWARM 6.20 where necessary.
[freertos] / Demo / CORTEX_LM3S811_IAR / startup.c
index d53376fd719961e272b1858d196af2bd9cb3455f..84e3fc89dc6c2fd5abe4be8e12c9b672ede22f62 100644 (file)
@@ -57,6 +57,7 @@ extern void xPortPendSVHandler(void);
 extern void xPortSysTickHandler(void);\r
 extern void vGPIO_ISR(void);\r
 extern void vUART_ISR(void);\r
+extern void vPortSVCHandler( void );\r
 \r
 //*****************************************************************************\r
 //\r
@@ -84,7 +85,7 @@ uVectorEntry;
 \r
 //*****************************************************************************\r
 //\r
-// The minimal vector table for a Cortex M3.  Note that the proper constructs\r
+// The minimal vector table for a Cortex-M3.  Note that the proper constructs\r
 // must be placed on this to ensure that it ends up at physical address\r
 // 0x0000.0000.\r
 //\r
@@ -103,7 +104,7 @@ __root const uVectorEntry __vector_table[] @ ".intvec" =
     0,                                      // Reserved\r
     0,                                      // Reserved\r
     0,                                      // Reserved\r
-    IntDefaultHandler,                      // SVCall handler\r
+    vPortSVCHandler,                        // SVCall handler\r
     IntDefaultHandler,                      // Debug monitor handler\r
     0,                                      // Reserved\r
     xPortPendSVHandler,                     // The PendSV handler\r