diff options
Diffstat (limited to 'examples/stm32wb/memory.x')
| -rw-r--r-- | examples/stm32wb/memory.x | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/examples/stm32wb/memory.x b/examples/stm32wb/memory.x index c75d07352..75bb74466 100644 --- a/examples/stm32wb/memory.x +++ b/examples/stm32wb/memory.x | |||
| @@ -1,14 +1,25 @@ | |||
| 1 | /* | 1 | /* |
| 2 | The size of this file must be exactly the same as in other memory_xx.x files. | 2 | The size of this file must be exactly the same as in other memory_xx.x files. |
| 3 | Memory size for STM32WB55xC with 256K FLASH | 3 | Memory size for STM32WB55xC with 256K FLASH |
| 4 | */ | ||
| 5 | 4 | ||
| 6 | MEMORY | 5 | MEMORY |
| 7 | { | 6 | { |
| 8 | FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 256K | 7 | FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 256K |
| 9 | RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 192K | 8 | RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 192K |
| 10 | RAM_SHARED (xrw) : ORIGIN = 0x20030000, LENGTH = 10K | 9 | RAM_SHARED (xrw) : ORIGIN = 0x20030000, LENGTH = 10K |
| 11 | } | 10 | } |
| 11 | */ | ||
| 12 | |||
| 13 | /* | ||
| 14 | Memory size for STM32WB55xC with 512K FLASH | ||
| 15 | |||
| 16 | MEMORY | ||
| 17 | { | ||
| 18 | FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 512K | ||
| 19 | RAM (xrw) : ORIGIN = 0x20000008, LENGTH = 0x2FFF8 | ||
| 20 | RAM_SHARED (xrw) : ORIGIN = 0x20030000, LENGTH = 10K | ||
| 21 | } | ||
| 22 | */ | ||
| 12 | 23 | ||
| 13 | /* Place stack at the end of SRAM1 */ | 24 | /* Place stack at the end of SRAM1 */ |
| 14 | _stack_start = ORIGIN(RAM) + LENGTH(RAM); | 25 | _stack_start = ORIGIN(RAM) + LENGTH(RAM); |
