Skip to content

Commit 9f9a858

Browse files
committed
Configure IAR stack size to 1KB
1 parent f0a5dce commit 9f9a858

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

targets/TARGET_STM/TARGET_STM32L4/TARGET_MTS_DRAGONFLY_L471QG/device/TOOLCHAIN_IAR/stm32l471xx.icf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__]
2121
define region SRAM2_region = mem:[from __region_SRAM2_start__ to __region_SRAM2_end__];
2222
define region SRAM1_region = mem:[from __region_SRAM1_start__ to __region_SRAM1_end__];
2323

24-
/* Stack complete SRAM2 and Heap 1/3 of SRAM1 */
25-
define symbol __size_cstack__ = 0x7e00;
24+
/* Stack 1K of SRAM2 and Heap 1/3 of SRAM1 */
25+
define symbol __size_cstack__ = 0x400;
2626
define symbol __size_heap__ = 0x8000;
2727
define block CSTACK with alignment = 8, size = __size_cstack__ { };
2828
define block HEAP with alignment = 8, size = __size_heap__ { };

0 commit comments

Comments
 (0)