Skip to content

Commit 3769ec4

Browse files
committed
place crash data region at end of IRAM
1 parent d810b85 commit 3769ec4

File tree

2 files changed

+8
-8
lines changed
  • targets/TARGET_NUVOTON
    • TARGET_M480/device/TOOLCHAIN_IAR
    • TARGET_NUC472/device/TOOLCHAIN_IAR/TARGET_NU_XRAM_SUPPORTED

2 files changed

+8
-8
lines changed

targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_IAR/M487.icf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ define symbol __ICFEDIT_intvec_start__ = MBED_APP_START;
99
/*-Memory Regions-*/
1010
define symbol __ICFEDIT_region_ROM_start__ = MBED_APP_START;
1111
define symbol __ICFEDIT_region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1;
12-
define symbol __region_CRASH_DATA_RAM_start__ = 0x20000000;
13-
define symbol __region_CRASH_DATA_RAM_end__ = 0x200000FF;
14-
define symbol __ICFEDIT_region_IRAM_start__ = 0x20000100;
15-
define symbol __ICFEDIT_region_IRAM_end__ = 0x20028000 - 1;
12+
define symbol __ICFEDIT_region_IRAM_start__ = 0x20000000;
13+
define symbol __ICFEDIT_region_IRAM_end__ = 0x20027F00 - 1;
14+
define symbol __region_CRASH_DATA_RAM_start__ = 0x20027F00;
15+
define symbol __region_CRASH_DATA_RAM_end__ = 0x20028000 - 1;
1616
/*-Sizes-*/
1717
define symbol __ICFEDIT_size_cstack__ = MBED_BOOT_STACK_SIZE;
1818
define symbol __ICFEDIT_size_intvec__ = (4 * (16 + 96));

targets/TARGET_NUVOTON/TARGET_NUC472/device/TOOLCHAIN_IAR/TARGET_NU_XRAM_SUPPORTED/NUC472_442.icf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ define symbol __ICFEDIT_intvec_start__ = MBED_APP_START;
99
/*-Memory Regions-*/
1010
define symbol __ICFEDIT_region_ROM_start__ = MBED_APP_START;
1111
define symbol __ICFEDIT_region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1;
12-
define symbol __region_CRASH_DATA_RAM_start__ = 0x20000000;
13-
define symbol __region_CRASH_DATA_RAM_end__ = 0x200000FF;
14-
define symbol __ICFEDIT_region_IRAM_start__ = 0x20000100;
15-
define symbol __ICFEDIT_region_IRAM_end__ = 0x20010000 - 1;
12+
define symbol __ICFEDIT_region_IRAM_start__ = 0x20000000;
13+
define symbol __ICFEDIT_region_IRAM_end__ = 0x2000FF00 - 1;
14+
define symbol __region_CRASH_DATA_RAM_start__ = 0x2000FF00;
15+
define symbol __region_CRASH_DATA_RAM_end__ = 0x20010000 - 1;
1616
define symbol __ICFEDIT_region_XRAM_start__ = 0x60000000;
1717
define symbol __ICFEDIT_region_XRAM_end__ = 0x60100000 - 1;
1818
/*-Sizes-*/

0 commit comments

Comments
 (0)