Skip to content

Commit bb197b2

Browse files
author
Mohammad Azim Khan
committed
Fix heap size for NUCLEO_F746ZG on IAR
1 parent 1f0d731 commit bb197b2

File tree

1 file changed

+2
-2
lines changed
  • targets/TARGET_STM/TARGET_STM32F7/TARGET_STM32F746xG/device/TOOLCHAIN_IAR

1 file changed

+2
-2
lines changed

targets/TARGET_STM/TARGET_STM32F7/TARGET_STM32F746xG/device/TOOLCHAIN_IAR/stm32f746xg.icf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__]
1919
define region ITCMRAM_region = mem:[from __region_ITCMRAM_start__ to __region_ITCMRAM_end__];
2020

2121
/* Stack and Heap */
22-
/*Heap 1/4 of ram and stack 1/8*/
22+
/*Heap 1/4 of ram and stack 1/12 */
2323
define symbol __size_cstack__ = 0x4000;
24-
define symbol __size_heap__ = 0x8000;
24+
define symbol __size_heap__ = 0x13000;
2525
define block CSTACK with alignment = 8, size = __size_cstack__ { };
2626
define block HEAP with alignment = 8, size = __size_heap__ { };
2727
define block STACKHEAP with fixed order { block HEAP, block CSTACK };

0 commit comments

Comments
 (0)