]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_MPU_M23_Nuvoton_NuMaker_PFM_M2351_IAR_GCC/Projects/IAR/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 / IAR / NonSecure / main_ns.c
index 9ab70df84d839c53bf82ac06491523b0e4d47c09..a217e902d9806da753abf44eb01e4c24fd33900e 100644 (file)
 static void prvCreateTasks( 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
+/* 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
@@ -88,6 +73,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