mirror of https://github.com/ARMmbed/mbed-os.git
Change NUCLEO_F303RE IAR Linker script heap size * Change the heap size value to be the stated 1/4 of the RAM.
parent
2dc749f1db
commit
f5ec83c076
|
@ -24,7 +24,7 @@ define region CCMRAM_region = mem:[from __region_CCMRAM_start__ to __region_CCMR
|
||||||
/* Stack and Heap */
|
/* Stack and Heap */
|
||||||
/*Heap 1/4 of ram and stack 1/8*/
|
/*Heap 1/4 of ram and stack 1/8*/
|
||||||
define symbol __size_cstack__ = 0x2000;
|
define symbol __size_cstack__ = 0x2000;
|
||||||
define symbol __size_heap__ = 0x4000;
|
define symbol __size_heap__ = 0x5000;
|
||||||
define block CSTACK with alignment = 8, size = __size_cstack__ { };
|
define block CSTACK with alignment = 8, size = __size_cstack__ { };
|
||||||
define block HEAP with alignment = 8, size = __size_heap__ { };
|
define block HEAP with alignment = 8, size = __size_heap__ { };
|
||||||
define block STACKHEAP with fixed order { block HEAP, block CSTACK };
|
define block STACKHEAP with fixed order { block HEAP, block CSTACK };
|
||||||
|
|
Loading…
Reference in New Issue