]> git.sur5r.net Git - freertos/blobdiff - Demo/CORTEX_STM32F103_Primer_GCC/ST_Code/crt0_STM32x.c
Start to re-arrange files to include FreeRTOS+ in main download.
[freertos] / Demo / CORTEX_STM32F103_Primer_GCC / ST_Code / crt0_STM32x.c
index 88960565d1aed0786997b7f01130b1f3c2ddfa6c..2d1020c43e441fe1b82d90dbe219bf8e9a69bb2f 100644 (file)
@@ -100,7 +100,7 @@ extern void vPortSVCHandler( void );
 \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
@@ -117,10 +117,10 @@ void (* const g_pfnVectors[])(void) =
   MemManageException,\r
   BusFaultException,\r
   UsageFaultException,\r
-  0, 0, 0, 0,            /* Reserved */ \r
+  (void*)0, (void*)0, (void*)0, (void*)0,            /* Reserved */ \r
   vPortSVCHandler,\r
   DebugMonitor,\r
-  0,                      /* Reserved */\r
+  (void*)0,                      /* Reserved */\r
   xPortPendSVHandler,\r
   xPortSysTickHandler,\r
   WWDG_IRQHandler,\r
@@ -166,14 +166,14 @@ void (* const g_pfnVectors[])(void) =
   EXTI15_10_IRQHandler,\r
   RTCAlarm_IRQHandler,\r
   USBWakeUp_IRQHandler,\r
-  0,\r
-  0,\r
-  0,\r
-  0,\r
-  0,\r
-  0,\r
-  0,\r
-  (unsigned long)0xF108F85F //this is a workaround for boot in RAM mode.\r
+  (void*)0,\r
+  (void*)0,\r
+  (void*)0,\r
+  (void*)0,\r
+  (void*)0,\r
+  (void*)0,\r
+  (void*)0,\r
+  (void*)0xF108F85F //this is a workaround for boot in RAM mode.\r
 };\r
 \r
 /*******************************************************************************\r