]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_R4F_RZ_T_GCC_IAR/src/main.c
Add FreeRTOS+CLI examples to the Renesas RZ/T demos.
[freertos] / FreeRTOS / Demo / CORTEX_R4F_RZ_T_GCC_IAR / src / main.c
index 730e617a594a3ddecebef8a37e88b65831e074dd..92006388a9dbbc0f8d7baf0d0efdd2f239fe3e8f 100644 (file)
@@ -114,11 +114,6 @@ or 0 to run the more comprehensive test and demo application. */
  */\r
 static void prvClearBSS( void );\r
 \r
-/*\r
- * Configure the hardware as necessary to run this demo.\r
- */\r
-static void prvSetupHardware( void );\r
-\r
 /*\r
  * main_blinky() is used when mainCREATE_SIMPLE_BLINKY_DEMO_ONLY is set to 1.\r
  * main_full() is used when mainCREATE_SIMPLE_BLINKY_DEMO_ONLY is set to 0.\r
@@ -136,10 +131,6 @@ void vApplicationIdleHook( void );
 void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName );\r
 void vApplicationTickHook( void );\r
 \r
-/* Prototype for the IRQ handler called by the generic Cortex-A5 RTOS port\r
-layer. */\r
-void vApplicationIRQHandler( void );\r
-\r
 /* Library initialisation. */\r
 extern void R_Systeminit( void );\r
 \r
@@ -153,7 +144,7 @@ int main( void )
        prvClearBSS();\r
 \r
        /* Configure the hardware ready to run the demo. */\r
-       prvSetupHardware();\r
+       R_Systeminit();\r
 \r
        /* The mainCREATE_SIMPLE_BLINKY_DEMO_ONLY setting is described at the top\r
        of this file. */\r
@@ -171,12 +162,6 @@ int main( void )
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-static void prvSetupHardware( void )\r
-{\r
-       R_Systeminit();\r
-}\r
-/*-----------------------------------------------------------*/\r
-\r
 void vApplicationMallocFailedHook( void )\r
 {\r
        /* Called if a call to pvPortMalloc() fails because there is insufficient\r