Skip to content

Commit 50a130b

Browse files
author
Mika Leppänen
committed
On STM32F439xI IAR linker file decreased stack size and increased heap
Decreased stack size from 24kB to 1kB (stack is used on boot-up/interrupt handler). Increased heap size from 65kB to 89kB. Change is related to issue #7137 where UBLOX_EVK_ODIN_W2 runs out of heap on WLAN.
1 parent 8e170cc commit 50a130b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/device/TOOLCHAIN_IAR/stm32f439xx_flash.icf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF;
1515
define symbol __ICFEDIT_region_CCMRAM_start__ = 0x10000000;
1616
define symbol __ICFEDIT_region_CCMRAM_end__ = 0x1000FFFF;
1717
/*-Sizes-*/
18-
/*Heap 64kB and stack 24kB */
19-
define symbol __ICFEDIT_size_cstack__ = 0x6000;
20-
define symbol __ICFEDIT_size_heap__ = 0x10000;
18+
/*Heap 89kB and stack 1kB */
19+
define symbol __ICFEDIT_size_cstack__ = 0x400;
20+
define symbol __ICFEDIT_size_heap__ = 0x15C00;
2121
/**** End of ICF editor section. ###ICF###*/
2222

2323

0 commit comments

Comments
 (0)