diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-02-20 01:01:01 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-02-20 01:01:01 +0100 |
| commit | 13328c58d385ef57db74d902b1056c175a2ab367 (patch) | |
| tree | e6512c30f439baf19279d14949bb798f252a16d0 /examples | |
| parent | 1567e724f97cf271e7733430401cebcf3be841f7 (diff) | |
examples/stm32wb: do not reserve words at start of RAM.
They're used to communicate from the app to ST's OTA bootloader. See AN5247.
This bootloader is optional, must be flashed by the user, and requires changing the FLASH start address as well, so the current memory regions still require modifications to use it. Therefore there's no point in reserving these words.
Thanks @adamgreig for investigating the purpose.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32wb/memory.x | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32wb/memory.x b/examples/stm32wb/memory.x index ae14e5a12..0e48c916d 100644 --- a/examples/stm32wb/memory.x +++ b/examples/stm32wb/memory.x | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | MEMORY | 6 | MEMORY |
| 7 | { | 7 | { |
| 8 | FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 256K | 8 | FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 256K |
| 9 | RAM (xrw) : ORIGIN = 0x20000008, LENGTH = 0x2FFF8 | 9 | RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 192K |
| 10 | RAM_SHARED (xrw) : ORIGIN = 0x20030000, LENGTH = 10K | 10 | RAM_SHARED (xrw) : ORIGIN = 0x20030000, LENGTH = 10K |
| 11 | } | 11 | } |
| 12 | 12 | ||
