]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_MPU_M23_Nuvoton_NuMaker_PFM_M2351_IAR_GCC/Projects/Keil/NonSecure/main_ns.c
Delete the Release configuration from the NXP project.
[freertos] / FreeRTOS / Demo / CORTEX_MPU_M23_Nuvoton_NuMaker_PFM_M2351_IAR_GCC / Projects / Keil / NonSecure / main_ns.c
index 4e5860128612af6e8a4ec4fc5f6140e6b80f88fe..b6ece032d5666748187947a0b4975f0c75d60be1 100644 (file)
@@ -74,24 +74,9 @@ static void prvCreateTasks( void );
 void HardFault_Handler( void ) __attribute__ ( ( naked ) );\r
 /*-----------------------------------------------------------*/\r
 \r
-static void prvCreateTasks( void )\r
-{\r
-       /* Create tasks for the MPU Demo. */\r
-       vStartMPUDemo();\r
-\r
-       /* Create tasks for the TZ Demo. */\r
-       vStartTZDemo();\r
-\r
-}\r
-/*-----------------------------------------------------------*/\r
-\r
-/* Stack overflow hook. */\r
-void vApplicationStackOverflowHook( TaskHandle_t xTask, signed char *pcTaskName )\r
-{\r
-       /* Force an assert. */\r
-       configASSERT( pcTaskName == 0 );\r
-}\r
-/*-----------------------------------------------------------*/\r
+/* For instructions on how to build and run this demo, visit the following link:\r
+ * https://www.freertos.org/RTOS-Cortex-M23-NuMaker-PFM-M2351-Keil.html\r
+ */\r
 \r
 /* Non-Secure main. */\r
 int main( void )\r
@@ -119,6 +104,25 @@ int main( void )
 }\r
 /*-----------------------------------------------------------*/\r
 \r
+static void prvCreateTasks( void )\r
+{\r
+       /* Create tasks for the MPU Demo. */\r
+       vStartMPUDemo();\r
+\r
+       /* Create tasks for the TZ Demo. */\r
+       vStartTZDemo();\r
+\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+/* Stack overflow hook. */\r
+void vApplicationStackOverflowHook( TaskHandle_t xTask, signed char *pcTaskName )\r
+{\r
+       /* Force an assert. */\r
+       configASSERT( pcTaskName == 0 );\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
 /* configUSE_STATIC_ALLOCATION is set to 1, so the application must provide an\r
  * implementation of vApplicationGetIdleTaskMemory() to provide the memory that\r
  * is used by the Idle task. */\r