Configure IAR stack size to 1KB

pull/7304/head
Leon Lindenfelser 2018-10-02 13:34:16 -05:00
parent f0a5dce37f
commit 9f9a85830f
1 changed files with 2 additions and 2 deletions

View File

@ -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__ { };