void BootNonSecure( uint32_t ulNonSecureStartAddress );\r
/*-----------------------------------------------------------*/\r
\r
+/*\r
+ Instructions to Build and Run:\r
+ - The Keil multi-project workspace FreeRTOSDemo.uvmpw contains projects for\r
+ both the secure project, and non secure project.\r
+ - Set the FreeRTOSDemo_s project as Active - Right click on\r
+ "Project: FreeRTOSDemo_s" and select "Set as Active Project".\r
+ - Build the FreeRTOSDemo_s project using "Project --> Build" or by pressing\r
+ F7.\r
+ - Set the FreeRTOSDemo_ns project as Active – Right click on\r
+ "Project: FreeRTOSDemo_ns" and select "Set as Active Project".\r
+ - Build the FreeRTOSDemo_ns project using "Project --> Build" or by\r
+ pressing "F7".\r
+ - Start Debug Session using "Debug -> Start/Stop Debug Session" or by\r
+ pressing "Ctrl+F5".\r
+*/\r
+\r
+/* Secure main() */\r
+int main( void )\r
+{\r
+ /* Boot the non-secure code. */\r
+ BootNonSecure( mainNONSECURE_APP_START_ADDRESS );\r
+\r
+ /* Non-secure software does not return, this code is not executed. */\r
+ for( ; ; )\r
+ {\r
+ /* Should not reach here. */\r
+ }\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
void BootNonSecure( uint32_t ulNonSecureStartAddress )\r
{\r
NonSecureResetHandler_t pxNonSecureResetHandler;\r
}\r
/*-----------------------------------------------------------*/\r
\r
-/* Secure main() */\r
-int main( void )\r
-{\r
- /* Boot the non-secure code. */\r
- BootNonSecure( mainNONSECURE_APP_START_ADDRESS );\r
-\r
- /* Non-secure software does not return, this code is not executed. */\r
- for( ; ; )\r
- {\r
- /* Should not reach here. */\r
- }\r
-}\r
-/*-----------------------------------------------------------*/\r