From 206589045c66cc367fb08e1b887bc3bed3838ae8 Mon Sep 17 00:00:00 2001 From: jeromecoutant Date: Wed, 16 Jan 2019 16:30:28 +0100 Subject: [PATCH] STM32L496xG: increase IAR heap size --- .../TARGET_STM32L496xG/device/TOOLCHAIN_IAR/stm32l496xx.icf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/device/TOOLCHAIN_IAR/stm32l496xx.icf b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/device/TOOLCHAIN_IAR/stm32l496xx.icf index 1476d296f1..c3e6b76f33 100644 --- a/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/device/TOOLCHAIN_IAR/stm32l496xx.icf +++ b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/device/TOOLCHAIN_IAR/stm32l496xx.icf @@ -20,7 +20,8 @@ define region SRAM1_region = mem:[from __region_SRAM1_start__ to __region_SRAM1_ /* Stack 1/8 and Heap 1/4 of RAM */ define symbol __size_cstack__ = 0x8000; -define symbol __size_heap__ = 0xa000; +define symbol __size_heap__ = 0x10000; + define block CSTACK with alignment = 8, size = __size_cstack__ { }; define block HEAP with alignment = 8, size = __size_heap__ { }; define block STACKHEAP with fixed order { block HEAP, block CSTACK };