Skip to content

Commit 62a70f4

Browse files
author
David Saada
committed
Fix TMPM64B IAR linker file
Remove unnecessary manual inclusion of tmpm64b_fc object file in linker script
1 parent 4672658 commit 62a70f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

targets/TARGET_TOSHIBA/TARGET_TMPM46B/device/TOOLCHAIN_IAR/tmpm46bf10fg.icf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFED
2525
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
2626
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
2727

28-
define block FLASH_CODE_ROM {section FLASH_ROM_init object flash_api.o, section .text_init object tmpm46b_fc.o};
29-
define block FLASH_CODE_RAM {section FLASH_ROM object flash_api.o, section .text object tmpm46b_fc.o};
28+
define block FLASH_CODE_ROM {section FLASH_ROM_init object flash_api.o};
29+
define block FLASH_CODE_RAM {section FLASH_ROM object flash_api.o};
3030

3131
initialize by copy { readwrite };
32-
initialize manually { section FLASH_ROM object flash_api.o, section .text object tmpm46b_fc.o};
32+
initialize manually { section FLASH_ROM object flash_api.o };
3333
do not initialize { section .noinit };
3434

3535
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };

0 commit comments

Comments
 (0)