From d5c8baa3641f0827adb12ae6280de75e55f47b9c Mon Sep 17 00:00:00 2001 From: bcostm Date: Fri, 26 Oct 2018 14:16:18 +0200 Subject: [PATCH] STM32F413ZH: fix wrong flash size for ARM compiler --- .../device/TOOLCHAIN_ARM_MICRO/stm32f413xh.sct | 4 ++-- .../device/TOOLCHAIN_ARM_STD/stm32f413xh.sct | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F413xH/device/TOOLCHAIN_ARM_MICRO/stm32f413xh.sct b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F413xH/device/TOOLCHAIN_ARM_MICRO/stm32f413xh.sct index d8658a94d4..927d555ac5 100644 --- a/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F413xH/device/TOOLCHAIN_ARM_MICRO/stm32f413xh.sct +++ b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F413xH/device/TOOLCHAIN_ARM_MICRO/stm32f413xh.sct @@ -32,9 +32,9 @@ #define MBED_APP_START 0x08000000 #endif -; 1536KB FLASH (0x150000) +; 1536KB FLASH (0x180000) #if !defined(MBED_APP_SIZE) - #define MBED_APP_SIZE 0x150000 + #define MBED_APP_SIZE 0x180000 #endif LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F413xH/device/TOOLCHAIN_ARM_STD/stm32f413xh.sct b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F413xH/device/TOOLCHAIN_ARM_STD/stm32f413xh.sct index d8658a94d4..927d555ac5 100644 --- a/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F413xH/device/TOOLCHAIN_ARM_STD/stm32f413xh.sct +++ b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F413xH/device/TOOLCHAIN_ARM_STD/stm32f413xh.sct @@ -32,9 +32,9 @@ #define MBED_APP_START 0x08000000 #endif -; 1536KB FLASH (0x150000) +; 1536KB FLASH (0x180000) #if !defined(MBED_APP_SIZE) - #define MBED_APP_SIZE 0x150000 + #define MBED_APP_SIZE 0x180000 #endif LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region