Skip to content

Commit 7189e68

Browse files
0xc0170theotherjimmy
authored andcommitted
Revert "Adjusting Stack size Allocation (IAR, LPC176x)"
This reverts commit fce2ca2.
1 parent 73bac6e commit 7189e68

File tree

1 file changed

+2
-3
lines changed
  • targets/TARGET_NXP/TARGET_LPC176X/device/TOOLCHAIN_IAR

1 file changed

+2
-3
lines changed

targets/TARGET_NXP/TARGET_LPC176X/device/TOOLCHAIN_IAR/LPC17xx.icf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ define symbol __ICFEDIT_region_RAM_start__ = 0x100000C8;
1212
define symbol __ICFEDIT_region_RAM_end__ = 0x10007FDF;
1313

1414
/*-Sizes-*/
15-
/* Heap 7K, Vector table stack about 4K (this is actual stack size in mbed-os 2) */
15+
/*Heap 1/4 of ram and stack 1/8*/
1616
define symbol __ICFEDIT_size_cstack__ = 0x1000;
17-
define symbol __ICFEDIT_size_heap__ = 0x1C00;
18-
17+
define symbol __ICFEDIT_size_heap__ = 0x2000;
1918
/**** End of ICF editor section. ###ICF###*/
2019

2120
define symbol __CRP_start__ = 0x000002FC;

0 commit comments

Comments
 (0)