Skip to content

Commit 909ce35

Browse files
committed
NUCLEO_L4R5ZI: set IAR linker stack size to 1KB
1 parent 5b4ff94 commit 909ce35

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L4R5xI/device/TOOLCHAIN_IAR/stm32l4r5xx.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__]
2020
define region SRAM1_region = mem:[from __region_SRAM1_start__ to __region_SRAM1_end__];
2121

2222
/* Stack and Heap */
23-
define symbol __size_cstack__ = 0x8000; /* 32KB */
23+
define symbol __size_cstack__ = 0x400; /* 1KB */
2424
define symbol __size_heap__ = 0x20000; /* 128KB */
2525
define block CSTACK with alignment = 8, size = __size_cstack__ { };
2626
define block HEAP with alignment = 8, size = __size_heap__ { };

0 commit comments

Comments
 (0)