Skip to content

Commit 925f54b

Browse files
author
Hasnain Virk
committed
Heap size reduced to 64k for IAR
IAR heap sizes were hard configured to be 96k which is 75% of the total RAM available. Reduced it to be 64k which is half of the available RAM.
1 parent 658ddf7 commit 925f54b

File tree

1 file changed

+2
-2
lines changed
  • targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/device/TOOLCHAIN_IAR

1 file changed

+2
-2
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/device/TOOLCHAIN_IAR/stm32f411xe.icf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__]
1616

1717
/* Stack and Heap */
1818
/* Stack: 4kB - 408B for vector table */
19-
/* Heap: 96kB */
19+
/* Heap: 64kB */
2020
define symbol __size_cstack__ = 0xe68;
21-
define symbol __size_heap__ = 0x18000;
21+
define symbol __size_heap__ = 0x10000;
2222
define block CSTACK with alignment = 8, size = __size_cstack__ { };
2323
define block HEAP with alignment = 8, size = __size_heap__ { };
2424
define block STACKHEAP with fixed order { block HEAP, block CSTACK };

0 commit comments

Comments
 (0)