Skip to content

Commit c6acfd3

Browse files
Change NUCLEO_F303RE IAR Linker script heap size
* Change the heap size value to be the stated 1/4 of the RAM.
1 parent 83608d5 commit c6acfd3

File tree

1 file changed

+1
-1
lines changed
  • targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303xE/device/TOOLCHAIN_IAR

1 file changed

+1
-1
lines changed

targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303xE/device/TOOLCHAIN_IAR/stm32f303xe.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ define region CCMRAM_region = mem:[from __region_CCMRAM_start__ to __region_CCMR
2424
/* Stack and Heap */
2525
/*Heap 1/4 of ram and stack 1/8*/
2626
define symbol __size_cstack__ = 0x2000;
27-
define symbol __size_heap__ = 0x4000;
27+
define symbol __size_heap__ = 0x5000;
2828
define block CSTACK with alignment = 8, size = __size_cstack__ { };
2929
define block HEAP with alignment = 8, size = __size_heap__ { };
3030
define block STACKHEAP with fixed order { block HEAP, block CSTACK };

0 commit comments

Comments
 (0)