From 724215004068e4914542b78a6e2fbb9af6821f2a Mon Sep 17 00:00:00 2001 From: bcostm Date: Wed, 25 Jul 2018 11:28:13 +0200 Subject: [PATCH] NUCLEO_L4R5ZI: set IAR linker stack size to 1KB --- .../TARGET_STM32L4R5xI/device/TOOLCHAIN_IAR/stm32l4r5xx.icf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L4R5xI/device/TOOLCHAIN_IAR/stm32l4r5xx.icf b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L4R5xI/device/TOOLCHAIN_IAR/stm32l4r5xx.icf index 2b53310684..ccf5c11558 100644 --- a/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L4R5xI/device/TOOLCHAIN_IAR/stm32l4r5xx.icf +++ b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L4R5xI/device/TOOLCHAIN_IAR/stm32l4r5xx.icf @@ -20,7 +20,7 @@ define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__] define region SRAM1_region = mem:[from __region_SRAM1_start__ to __region_SRAM1_end__]; /* Stack and Heap */ -define symbol __size_cstack__ = 0x8000; /* 32KB */ +define symbol __size_cstack__ = 0x400; /* 1KB */ define symbol __size_heap__ = 0x20000; /* 128KB */ define block CSTACK with alignment = 8, size = __size_cstack__ { }; define block HEAP with alignment = 8, size = __size_heap__ { };