mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-11 13:54:16 -04:00
Fix Build and Links failure in MPU projects. Minor cosmetic changes in some V8M files.
This commit is contained in:
parent
8b6ab5f197
commit
5623c69748
17 changed files with 47 additions and 44 deletions
|
@ -66,20 +66,20 @@ static void prvCreateTasks( void );
|
|||
/*-----------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
Instructions to Build and Run:
|
||||
- The Keil multi-project workspace FreeRTOSDemo.uvmpw contains projects for
|
||||
both the secure project, and non secure project.
|
||||
- Set the FreeRTOSDemo_s project as Active - Right click on
|
||||
"Project: FreeRTOSDemo_s" and select "Set as Active Project".
|
||||
- Build the FreeRTOSDemo_s project using "Project --> Build" or by pressing
|
||||
F7.
|
||||
- Set the FreeRTOSDemo_ns project as Active – Right click on
|
||||
"Project: FreeRTOSDemo_ns" and select "Set as Active Project".
|
||||
- Build the FreeRTOSDemo_ns project using "Project --> Build" or by
|
||||
pressing "F7".
|
||||
- Start Debug Session using "Debug -> Start/Stop Debug Session" or by
|
||||
pressing "Ctrl+F5".
|
||||
*/
|
||||
* Instructions to Build and Run:
|
||||
* - The Keil multi-project workspace FreeRTOSDemo.uvmpw contains projects for
|
||||
* both the secure project, and non secure project.
|
||||
* - Set the FreeRTOSDemo_s project as Active - Right click on
|
||||
* "Project: FreeRTOSDemo_s" and select "Set as Active Project".
|
||||
* - Build the FreeRTOSDemo_s project using "Project --> Build" or by pressing
|
||||
* "F7".
|
||||
* - Set the FreeRTOSDemo_ns project as Active - Right click on
|
||||
* "Project: FreeRTOSDemo_ns" and select "Set as Active Project".
|
||||
* - Build the FreeRTOSDemo_ns project using "Project --> Build" or by
|
||||
* pressing "F7".
|
||||
* - Start Debug Session using "Debug -> Start/Stop Debug Session" or by
|
||||
* pressing "Ctrl+F5".
|
||||
*/
|
||||
|
||||
/* Non-Secure main. */
|
||||
int main( void )
|
||||
|
|
|
@ -2,7 +2,7 @@ Instructions to Build and Run:
|
|||
- The Keil multi-project workspace FreeRTOSDemo.uvmpw contains projects for both the secure project, and non secure project.
|
||||
- Set the FreeRTOSDemo_s project as Active - Right click on "Project: FreeRTOSDemo_s" and select "Set as Active Project".
|
||||
- Build the FreeRTOSDemo_s project using "Project --> Build" or by pressing F7.
|
||||
- Set the FreeRTOSDemo_ns project as Active – Right click on "Project: FreeRTOSDemo_ns" and select "Set as Active Project".
|
||||
- Set the FreeRTOSDemo_ns project as Active - Right click on "Project: FreeRTOSDemo_ns" and select "Set as Active Project".
|
||||
- Build the FreeRTOSDemo_ns project using "Project --> Build" or by pressing "F7".
|
||||
- Start Debug Session using "Debug -> Start/Stop Debug Session" or by pressing "Ctrl+F5".
|
||||
|
||||
|
|
|
@ -45,20 +45,20 @@ void BootNonSecure( uint32_t ulNonSecureStartAddress );
|
|||
/*-----------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
Instructions to Build and Run:
|
||||
- The Keil multi-project workspace FreeRTOSDemo.uvmpw contains projects for
|
||||
both the secure project, and non secure project.
|
||||
- Set the FreeRTOSDemo_s project as Active - Right click on
|
||||
"Project: FreeRTOSDemo_s" and select "Set as Active Project".
|
||||
- Build the FreeRTOSDemo_s project using "Project --> Build" or by pressing
|
||||
F7.
|
||||
- Set the FreeRTOSDemo_ns project as Active – Right click on
|
||||
"Project: FreeRTOSDemo_ns" and select "Set as Active Project".
|
||||
- Build the FreeRTOSDemo_ns project using "Project --> Build" or by
|
||||
pressing "F7".
|
||||
- Start Debug Session using "Debug -> Start/Stop Debug Session" or by
|
||||
pressing "Ctrl+F5".
|
||||
*/
|
||||
* Instructions to Build and Run:
|
||||
* - The Keil multi-project workspace FreeRTOSDemo.uvmpw contains projects for
|
||||
* both the secure project, and non secure project.
|
||||
* - Set the FreeRTOSDemo_s project as Active - Right click on
|
||||
* "Project: FreeRTOSDemo_s" and select "Set as Active Project".
|
||||
* - Build the FreeRTOSDemo_s project using "Project --> Build" or by pressing
|
||||
* "F7".
|
||||
* - Set the FreeRTOSDemo_ns project as Active - Right click on
|
||||
* "Project: FreeRTOSDemo_ns" and select "Set as Active Project".
|
||||
* - Build the FreeRTOSDemo_ns project using "Project --> Build" or by
|
||||
* pressing "F7".
|
||||
* - Start Debug Session using "Debug -> Start/Stop Debug Session" or by
|
||||
* pressing "Ctrl+F5".
|
||||
*/
|
||||
|
||||
/* Secure main() */
|
||||
int main( void )
|
||||
|
|
|
@ -150,7 +150,7 @@ standard names. */
|
|||
|
||||
/* Normal assert() semantics without relying on the provision of an assert.h
|
||||
header file. */
|
||||
#define configASSERT( x ) if( ( x ) == 0UL ) { taskDISABLE_INTERRUPTS(); for( ;; ); }
|
||||
#define configASSERT( x ) if( ( x ) == 0UL ) { portDISABLE_INTERRUPTS(); for( ;; ); }
|
||||
|
||||
/* LED not used at present, so just increment a variable to keep a count of the
|
||||
number of times the LED would otherwise have been toggled. */
|
||||
|
|
|
@ -152,7 +152,7 @@ standard names. */
|
|||
|
||||
/* Normal assert() semantics without relying on the provision of an assert.h
|
||||
header file. */
|
||||
#define configASSERT( x ) if( ( x ) == 0UL ) { taskDISABLE_INTERRUPTS(); for( ;; ); }
|
||||
#define configASSERT( x ) if( ( x ) == 0UL ) { portDISABLE_INTERRUPTS(); for( ;; ); }
|
||||
|
||||
/* LED not used at present, so just increment a variable to keep a count of the
|
||||
number of times the LED would otherwise have been toggled. */
|
||||
|
|
|
@ -7,7 +7,7 @@ MEMORY
|
|||
|
||||
/* Variables used by FreeRTOS-MPU. */
|
||||
_Privileged_Functions_Region_Size = 32K;
|
||||
_Privileged_Data_Region_Size = 2048;
|
||||
_Privileged_Data_Region_Size = 4096;
|
||||
|
||||
__FLASH_segment_start__ = ORIGIN( ROM );
|
||||
__FLASH_segment_end__ = __FLASH_segment_start__ + LENGTH( ROM );
|
||||
|
|
|
@ -15,7 +15,7 @@ LR_IROM1 0x00000000 { ; load region size_region
|
|||
RW_IRAM1 0x20000000 { ; RW data
|
||||
*( privileged_data )
|
||||
}
|
||||
RW_IRAM2 0x20000800 { ; RW data
|
||||
RW_IRAM2 0x20001000 { ; RW data
|
||||
.ANY (+RW +ZI)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue