Skip to content

Commit 2065890

Browse files
jeromecoutantadbridge
authored andcommitted
STM32L496xG: increase IAR heap size
1 parent 3099acc commit 2065890

File tree

1 file changed

+2
-1
lines changed
  • targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/device/TOOLCHAIN_IAR

1 file changed

+2
-1
lines changed

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/device/TOOLCHAIN_IAR/stm32l496xx.icf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ define region SRAM1_region = mem:[from __region_SRAM1_start__ to __region_SRAM1_
2020

2121
/* Stack 1/8 and Heap 1/4 of RAM */
2222
define symbol __size_cstack__ = 0x8000;
23-
define symbol __size_heap__ = 0xa000;
23+
define symbol __size_heap__ = 0x10000;
24+
2425
define block CSTACK with alignment = 8, size = __size_cstack__ { };
2526
define block HEAP with alignment = 8, size = __size_heap__ { };
2627
define block STACKHEAP with fixed order { block HEAP, block CSTACK };

0 commit comments

Comments
 (0)