Skip to content

Commit d241eef

Browse files
committed
STM32H7 : use RAM instead of DTCMRAM (IAR toolchain)
Keep vector table and crash data ram in 0x20000000 for tests-mbed_platform-crash_reporting test. Move the rest in RAM (0x24000000). This is needed for ethernet and allows user to use more RAM (512k). Signed-off-by: Vincent Veron <[email protected]>
1 parent 6a535d1 commit d241eef

File tree

1 file changed

+5
-5
lines changed
  • targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H743xI/device/TOOLCHAIN_IAR

1 file changed

+5
-5
lines changed

targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H743xI/device/TOOLCHAIN_IAR/stm32h743xI.icf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ define symbol __region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1;
1010
// 512KB RAM (0x80000)
1111
// Vector table dynamic copy: 166 vectors = 664 bytes (0x298) reserved
1212
// Crash data area: 256 bytes (0x100) reserved
13-
define symbol __NVIC_start__ = 0x24000000;
14-
define symbol __NVIC_end__ = 0x24000297;
15-
define symbol __region_CRASH_DATA_RAM_start__ = 0x24000298; // Aligned on 8 bytes
16-
define symbol __region_CRASH_DATA_RAM_end__ = 0x24000397;
17-
define symbol __region_RAM_start__ = 0x24000398; // Aligned on 8 bytes
13+
define symbol __NVIC_start__ = 0x20000000;
14+
define symbol __NVIC_end__ = 0x20000297;
15+
define symbol __region_CRASH_DATA_RAM_start__ = 0x20000298; // Aligned on 8 bytes
16+
define symbol __region_CRASH_DATA_RAM_end__ = 0x20000397;
17+
define symbol __region_RAM_start__ = 0x24000000; // Aligned on 8 bytes
1818
define symbol __region_RAM_end__ = 0x24000000 + 0x80000 - 1;
1919

2020
// Memory regions

0 commit comments

Comments
 (0)