mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #12061 from OpenNuvoton/nuvoton_nano130_iar_dynamic_heap
NANO130: Support dynamic heap configuration on IARpull/12126/head
commit
1d5bd750b9
|
@ -11,7 +11,7 @@ define symbol __ICFEDIT_region_IRAM_start__ = 0x20000000;
|
||||||
define symbol __ICFEDIT_region_IRAM_end__ = 0x20004000 - 1;
|
define symbol __ICFEDIT_region_IRAM_end__ = 0x20004000 - 1;
|
||||||
/*-Sizes-*/
|
/*-Sizes-*/
|
||||||
define symbol __ICFEDIT_size_cstack__ = MBED_BOOT_STACK_SIZE;
|
define symbol __ICFEDIT_size_cstack__ = MBED_BOOT_STACK_SIZE;
|
||||||
define symbol __ICFEDIT_size_heap__ = 0xB00;
|
define symbol __ICFEDIT_size_heap__ = 0x400;
|
||||||
/**** End of ICF editor section. ###ICF###*/
|
/**** End of ICF editor section. ###ICF###*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ define region IRAM_region = mem:[from __ICFEDIT_region_IRAM_start__ to __ICFED
|
||||||
|
|
||||||
define block ROMVEC with alignment = 8 { readonly section .intvec };
|
define block ROMVEC with alignment = 8 { readonly section .intvec };
|
||||||
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
|
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
|
||||||
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
|
define block HEAP with expanding size, alignment = 8, minimum size = __ICFEDIT_size_heap__ { };
|
||||||
|
|
||||||
|
|
||||||
initialize by copy with packing = none { readwrite };
|
initialize by copy with packing = none { readwrite };
|
||||||
|
|
Loading…
Reference in New Issue