Skip to content

Commit 66eb594

Browse files
authored
Merge pull request #12047 from OpenNuvoton/nuvoton_nano130_fix_iar
NANO130: Fix OOM with packing algorithm at IAR linking
2 parents 8d246d8 + 3e4e062 commit 66eb594

File tree

1 file changed

+2
-2
lines changed
  • targets/TARGET_NUVOTON/TARGET_NANO100/device/TOOLCHAIN_IAR

1 file changed

+2
-2
lines changed

targets/TARGET_NUVOTON/TARGET_NANO100/device/TOOLCHAIN_IAR/NANO130.icf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define symbol __ICFEDIT_region_IRAM_start__ = 0x20000000;
1111
define symbol __ICFEDIT_region_IRAM_end__ = 0x20004000 - 1;
1212
/*-Sizes-*/
1313
define symbol __ICFEDIT_size_cstack__ = MBED_BOOT_STACK_SIZE;
14-
define symbol __ICFEDIT_size_heap__ = 0xC00;
14+
define symbol __ICFEDIT_size_heap__ = 0xB00;
1515
/**** End of ICF editor section. ###ICF###*/
1616

1717

@@ -24,7 +24,7 @@ define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
2424
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
2525

2626

27-
initialize by copy { readwrite };
27+
initialize by copy with packing = none { readwrite };
2828
do not initialize { section .noinit };
2929

3030
place at address mem:__ICFEDIT_intvec_start__ { block ROMVEC };

0 commit comments

Comments
 (0)