Skip to content

Commit afe431b

Browse files
authored
Merge pull request #2338 from pan-/fix_nrf51_stack_size
Fix nrf51 stack on IAR.
2 parents 8996227 + e861755 commit afe431b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_16K/nRF51822_QFAA.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define symbol __ICFEDIT_region_RAM_end__ = 0x20003FFF;
1111
export symbol __ICFEDIT_region_RAM_start__;
1212
export symbol __ICFEDIT_region_RAM_end__;
1313
/*-Sizes-*/
14-
define symbol __ICFEDIT_size_cstack__ = 0x400;
14+
define symbol __ICFEDIT_size_cstack__ = 0x800;
1515
define symbol __ICFEDIT_size_heap__ = 0x900;
1616
/**** End of ICF editor section. ###ICF###*/
1717

hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_32K/nRF51822_QFAA.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export symbol __ICFEDIT_region_RAM_start__;
1212
export symbol __ICFEDIT_region_RAM_end__;
1313
/*-Sizes-*/
1414
/*Heap 1/4 of ram and stack 1/8*/
15-
define symbol __ICFEDIT_size_cstack__ = 0xc00;
15+
define symbol __ICFEDIT_size_cstack__ = 0x800;
1616
define symbol __ICFEDIT_size_heap__ = 0x1800;
1717
/**** End of ICF editor section. ###ICF###*/
1818

0 commit comments

Comments
 (0)