Skip to content

Commit c4df35d

Browse files
committed
[NUC472/M453] Fix region end address error with IAR toolchain
1 parent 2305a8c commit c4df35d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

targets/TARGET_NUVOTON/TARGET_M451/device/TOOLCHAIN_IAR/M453.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ define symbol __ICFEDIT_intvec_start__ = MBED_APP_START;
99
define symbol __ICFEDIT_region_ROM_start__ = MBED_APP_START;
1010
define symbol __ICFEDIT_region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1;
1111
define symbol __ICFEDIT_region_IRAM_start__ = 0x20000000;
12-
define symbol __ICFEDIT_region_IRAM_end__ = 0x20008000;
12+
define symbol __ICFEDIT_region_IRAM_end__ = 0x20008000 - 1;
1313
/*-Sizes-*/
1414
define symbol __ICFEDIT_size_cstack__ = 0x800;
1515
define symbol __ICFEDIT_size_heap__ = 0x4000;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ define symbol __ICFEDIT_intvec_start__ = MBED_APP_START;
99
define symbol __ICFEDIT_region_ROM_start__ = MBED_APP_START;
1010
define symbol __ICFEDIT_region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1;
1111
define symbol __ICFEDIT_region_IRAM_start__ = 0x20000000;
12-
define symbol __ICFEDIT_region_IRAM_end__ = 0x20010000;
12+
define symbol __ICFEDIT_region_IRAM_end__ = 0x20010000 - 1;
1313
define symbol __ICFEDIT_region_XRAM_start__ = 0x60000000;
14-
define symbol __ICFEDIT_region_XRAM_end__ = 0x60100000;
14+
define symbol __ICFEDIT_region_XRAM_end__ = 0x60100000 - 1;
1515
/*-Sizes-*/
1616
define symbol __ICFEDIT_size_cstack__ = 0x800;
1717
define symbol __ICFEDIT_size_heap__ = 0xC0000;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ define symbol __ICFEDIT_intvec_start__ = MBED_APP_START;
99
define symbol __ICFEDIT_region_ROM_start__ = MBED_APP_START;
1010
define symbol __ICFEDIT_region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1;
1111
define symbol __ICFEDIT_region_IRAM_start__ = 0x20000000;
12-
define symbol __ICFEDIT_region_IRAM_end__ = 0x20010000;
12+
define symbol __ICFEDIT_region_IRAM_end__ = 0x20010000 - 1;
1313
/*-Sizes-*/
1414
define symbol __ICFEDIT_size_cstack__ = 0x800;
1515
define symbol __ICFEDIT_size_heap__ = 0x8000;

0 commit comments

Comments
 (0)