From a9a79dfecf936ad10807c2b8db17e20fb8cf3c5a Mon Sep 17 00:00:00 2001 From: Ganesh Ramachandran Date: Wed, 6 Feb 2019 17:38:19 +0530 Subject: [PATCH] Added MBED_APP_START to linker script --- .../TARGET_TMPM46B/device/TOOLCHAIN_IAR/tmpm46bf10fg.icf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM46B/device/TOOLCHAIN_IAR/tmpm46bf10fg.icf b/targets/TARGET_TOSHIBA/TARGET_TMPM46B/device/TOOLCHAIN_IAR/tmpm46bf10fg.icf index 05f4aacdbe..232b02409f 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM46B/device/TOOLCHAIN_IAR/tmpm46bf10fg.icf +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM46B/device/TOOLCHAIN_IAR/tmpm46bf10fg.icf @@ -35,7 +35,7 @@ initialize manually { section FLASH_ROM object flash_api.o }; do not initialize { section .noinit }; place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; -place at address mem: 0x400 { block FLASH_CODE_ROM }; +place at address mem: MBED_APP_START + 0x400 { block FLASH_CODE_ROM }; place at address mem: 0x20070000 { block FLASH_CODE_RAM }; place in RAM_region { readwrite, block CSTACK, block HEAP };