Skip to content

Commit 8560e47

Browse files
committed
STM32F413ZH: fix wrong flash size for ARM compiler
1 parent 468e1b8 commit 8560e47

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F413xH/device/TOOLCHAIN_ARM_MICRO/stm32f413xh.sct

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
#define MBED_APP_START 0x08000000
3333
#endif
3434

35-
; 1536KB FLASH (0x150000)
35+
; 1536KB FLASH (0x180000)
3636
#if !defined(MBED_APP_SIZE)
37-
#define MBED_APP_SIZE 0x150000
37+
#define MBED_APP_SIZE 0x180000
3838
#endif
3939

4040
LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region

targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F413xH/device/TOOLCHAIN_ARM_STD/stm32f413xh.sct

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
#define MBED_APP_START 0x08000000
3333
#endif
3434

35-
; 1536KB FLASH (0x150000)
35+
; 1536KB FLASH (0x180000)
3636
#if !defined(MBED_APP_SIZE)
37-
#define MBED_APP_SIZE 0x150000
37+
#define MBED_APP_SIZE 0x180000
3838
#endif
3939

4040
LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region

0 commit comments

Comments
 (0)