We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7491482 + d0ac092 commit 7c1cdc8Copy full SHA for 7c1cdc8
targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/TOOLCHAIN_IAR/stm32f412xx.icf
@@ -18,8 +18,9 @@ define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__]
18
define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__];
19
20
/* Stack and Heap */
21
-define symbol __size_cstack__ = 0x8000;
22
-define symbol __size_heap__ = 0x10000;
+/*Heap 84kB and stack 1kB */
+define symbol __size_cstack__ = 0x400;
23
+define symbol __size_heap__ = 0x15000;
24
define block CSTACK with alignment = 8, size = __size_cstack__ { };
25
define block HEAP with alignment = 8, size = __size_heap__ { };
26
define block STACKHEAP with fixed order { block HEAP, block CSTACK };
0 commit comments