mirror of https://github.com/ARMmbed/mbed-os.git
Configure IAR stack size to 1KB
parent
f0a5dce37f
commit
9f9a85830f
|
@ -21,8 +21,8 @@ define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__]
|
|||
define region SRAM2_region = mem:[from __region_SRAM2_start__ to __region_SRAM2_end__];
|
||||
define region SRAM1_region = mem:[from __region_SRAM1_start__ to __region_SRAM1_end__];
|
||||
|
||||
/* Stack complete SRAM2 and Heap 1/3 of SRAM1 */
|
||||
define symbol __size_cstack__ = 0x7e00;
|
||||
/* Stack 1K of SRAM2 and Heap 1/3 of SRAM1 */
|
||||
define symbol __size_cstack__ = 0x400;
|
||||
define symbol __size_heap__ = 0x8000;
|
||||
define block CSTACK with alignment = 8, size = __size_cstack__ { };
|
||||
define block HEAP with alignment = 8, size = __size_heap__ { };
|
||||
|
|
Loading…
Reference in New Issue