From ca99c3325f98e5388c9035afe48393fe41401da8 Mon Sep 17 00:00:00 2001 From: "andreas.larsson" Date: Mon, 12 Sep 2016 15:54:19 +0200 Subject: [PATCH] Fixed wrong flash size. Fixed duplicate RW_IRAM1 region. --- .../TOOLCHAIN_ARM_STD/stm32f439xx.sct | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_STD/stm32f439xx.sct b/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_STD/stm32f439xx.sct index c80c9d6b33..6b5cd4b0a1 100644 --- a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_STD/stm32f439xx.sct +++ b/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_STD/stm32f439xx.sct @@ -1,6 +1,6 @@ ; Scatter-Loading Description File ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -; Copyright (c) 2014, STMicroelectronics +; Copyright (c) 2015, STMicroelectronics ; All rights reserved. ; ; Redistribution and use in source and binary forms, with or without @@ -27,10 +27,10 @@ ; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -; STM32F439ZI: 512 KB FLASH (0x80000) + 256 KB SRAM (0x30000 + 0x10000) -LR_IROM1 0x08000000 0x80000 { ; load region size_region +; 2 MB FLASH (0x200000) + 256 KB SRAM (0x30000 + 0x10000) +LR_IROM1 0x08000000 0x200000 { ; load region size_region - ER_IROM1 0x08000000 0x80000 { ; load address = execution address + ER_IROM1 0x08000000 0x200000 { ; load address = execution address *.o (RESET, +First) *(InRoot$$Sections) .ANY (+RO) @@ -41,7 +41,7 @@ LR_IROM1 0x08000000 0x80000 { ; load region size_region .ANY (+RW +ZI) } - RW_IRAM1 (0x10000000) (0x10000) { ; RW data + RW_IRAM2 (0x10000000) (0x10000) { ; RW data .ANY (+RW +ZI) } }