Skip to content

Commit d65abb6

Browse files
author
Cruz Monrreal
authored
Merge pull request #7289 from mikaleppanen/odin_iar_heap_inc
On STM32F439xI IAR linker file decreased stack size and increased heap
2 parents cf84b05 + 50a130b commit d65abb6

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)