From 13328c58d385ef57db74d902b1056c175a2ab367 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Mon, 20 Feb 2023 01:01:01 +0100 Subject: [PATCH] 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. --- examples/stm32wb/memory.x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/stm32wb/memory.x b/examples/stm32wb/memory.x index ae14e5a1..0e48c916 100644 --- a/examples/stm32wb/memory.x +++ b/examples/stm32wb/memory.x @@ -6,7 +6,7 @@ MEMORY { FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 256K - RAM (xrw) : ORIGIN = 0x20000008, LENGTH = 0x2FFF8 + RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 192K RAM_SHARED (xrw) : ORIGIN = 0x20030000, LENGTH = 10K }