summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/CORTEX_MPU_STM32L4_Discovery_GCC_IAR_Keil/Projects/Keil/MPUDemo.sct
diff options
context:
space:
mode:
Diffstat (limited to 'FreeRTOS/Demo/CORTEX_MPU_STM32L4_Discovery_GCC_IAR_Keil/Projects/Keil/MPUDemo.sct')
-rw-r--r--FreeRTOS/Demo/CORTEX_MPU_STM32L4_Discovery_GCC_IAR_Keil/Projects/Keil/MPUDemo.sct45
1 files changed, 45 insertions, 0 deletions
diff --git a/FreeRTOS/Demo/CORTEX_MPU_STM32L4_Discovery_GCC_IAR_Keil/Projects/Keil/MPUDemo.sct b/FreeRTOS/Demo/CORTEX_MPU_STM32L4_Discovery_GCC_IAR_Keil/Projects/Keil/MPUDemo.sct
new file mode 100644
index 000000000..891bc1b8a
--- /dev/null
+++ b/FreeRTOS/Demo/CORTEX_MPU_STM32L4_Discovery_GCC_IAR_Keil/Projects/Keil/MPUDemo.sct
@@ -0,0 +1,45 @@
+; Flash Layout
+;
+; ---------------------
+; | Privileged Code |
+; ---------------------
+; | Unprivileged Code |
+; ---------------------
+;
+; RAM Layout
+;
+; ---------------------
+; | Privileged Data |
+; ---------------------
+; | Unprivileged Data |
+; ---------------------
+
+LR_APP 0x08000000 0x100000 ; load region size_region
+{
+ ER_IROM_PRIVILEGED 0x08000000
+ {
+ *.o (RESET, +First)
+ *(InRoot$$Sections)
+ *(privileged_functions)
+ }
+
+ ER_IROM_FREERTOS_SYSTEM_CALLS 0x08008000 FIXED
+ {
+ *(freertos_system_calls)
+ }
+
+ ER_IROM_UNPRIVILEGED +0
+ {
+ .ANY (+RO)
+ }
+
+ RW_IRAM_PRIVILEGED 0x20000000
+ {
+ *(privileged_data)
+ }
+
+ RW_IRAM_UNPRIVILEGED 0x20000400
+ {
+ .ANY (+RW +ZI)
+ }
+}