From e3fb76f0d93a21b2e24acbd4fdd0f0529090c02a Mon Sep 17 00:00:00 2001 From: ccli8 Date: Fri, 5 May 2017 16:30:32 +0800 Subject: [PATCH] [M487] Fix region end address error with IAR toolchain --- .../TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_IAR/M487.icf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_IAR/M487.icf b/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_IAR/M487.icf index c07ef89a50..8732dcf622 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_IAR/M487.icf +++ b/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_IAR/M487.icf @@ -5,9 +5,9 @@ define symbol __ICFEDIT_intvec_start__ = 0x00000000; /*-Memory Regions-*/ define symbol __ICFEDIT_region_ROM_start__ = 0x00000000; -define symbol __ICFEDIT_region_ROM_end__ = 0x00080000; +define symbol __ICFEDIT_region_ROM_end__ = 0x00080000 - 1; define symbol __ICFEDIT_region_IRAM_start__ = 0x20000000; -define symbol __ICFEDIT_region_IRAM_end__ = 0x20020000; +define symbol __ICFEDIT_region_IRAM_end__ = 0x20020000 - 1; /*-Sizes-*/ define symbol __ICFEDIT_size_cstack__ = 0x800; define symbol __ICFEDIT_size_heap__ = 0xC000;