From ba019fdda7665a3f821b768407e1429d7b55e61c Mon Sep 17 00:00:00 2001 From: Martin Kojtal <0xc0170@gmail.com> Date: Mon, 25 Sep 2017 13:50:54 +0100 Subject: [PATCH] LPC1768: RAM end adjust fix The topmost 32 bytes used by IAP functions, this was not included in the RAM end previously. --- .../TARGET_NXP/TARGET_LPC176X/device/TOOLCHAIN_IAR/LPC17xx.icf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/TARGET_NXP/TARGET_LPC176X/device/TOOLCHAIN_IAR/LPC17xx.icf b/targets/TARGET_NXP/TARGET_LPC176X/device/TOOLCHAIN_IAR/LPC17xx.icf index ae22e24652..57037ba690 100644 --- a/targets/TARGET_NXP/TARGET_LPC176X/device/TOOLCHAIN_IAR/LPC17xx.icf +++ b/targets/TARGET_NXP/TARGET_LPC176X/device/TOOLCHAIN_IAR/LPC17xx.icf @@ -9,7 +9,7 @@ define symbol __ICFEDIT_region_ROM_end__ = 0x0007FFFF; define symbol __ICFEDIT_region_NVIC_start__ = 0x10000000; define symbol __ICFEDIT_region_NVIC_end__ = 0x100000C7; define symbol __ICFEDIT_region_RAM_start__ = 0x100000C8; -define symbol __ICFEDIT_region_RAM_end__ = 0x10007FDF; +define symbol __ICFEDIT_region_RAM_end__ = 0x10007FE0; /*-Sizes-*/ /*Heap 1/4 of ram and stack 1/8*/