From f810e77d8746fc72217e4ad1ace1b76951423725 Mon Sep 17 00:00:00 2001 From: David Saada Date: Wed, 13 Jun 2018 17:22:58 +0300 Subject: [PATCH] Fix TMPM64B IAR linker file Remove unnecessary manual inclusion of tmpm64b_fc object file in linker script --- .../TARGET_TMPM46B/device/TOOLCHAIN_IAR/tmpm46bf10fg.icf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 0254f84f41..dcc4f03fbd 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM46B/device/TOOLCHAIN_IAR/tmpm46bf10fg.icf +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM46B/device/TOOLCHAIN_IAR/tmpm46bf10fg.icf @@ -25,11 +25,11 @@ define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFED define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; -define block FLASH_CODE_ROM {section FLASH_ROM_init object flash_api.o, section .text_init object tmpm46b_fc.o}; -define block FLASH_CODE_RAM {section FLASH_ROM object flash_api.o, section .text object tmpm46b_fc.o}; +define block FLASH_CODE_ROM {section FLASH_ROM_init object flash_api.o}; +define block FLASH_CODE_RAM {section FLASH_ROM object flash_api.o}; initialize by copy { readwrite }; -initialize manually { section FLASH_ROM object flash_api.o, section .text object tmpm46b_fc.o}; +initialize manually { section FLASH_ROM object flash_api.o }; do not initialize { section .noinit }; place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };