File tree Expand file tree Collapse file tree 6 files changed +17
-17
lines changed
TARGET_M251/device/TOOLCHAIN_IAR
TARGET_M261/device/TOOLCHAIN_IAR
TARGET_M451/device/TOOLCHAIN_IAR
TARGET_M480/device/TOOLCHAIN_IAR
TARGET_NUC472/device/TOOLCHAIN_IAR
TARGET_NU_XRAM_UNSUPPORTED Expand file tree Collapse file tree 6 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ define symbol __ICFEDIT_region_IRAM_end__ = MBED_RAM_APP_START + MBED_RAM_
5151
5252/*-Sizes-*/
5353define symbol __ICFEDIT_size_cstack__ = MBED_BOOT_STACK_SIZE;
54- define symbol __ICFEDIT_size_heap__ = 0x4000 ;
54+ define symbol __ICFEDIT_size_heap__ = 0x400 ;
5555
5656
5757/**** End of ICF editor section. ###ICF###*/
@@ -62,7 +62,7 @@ define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFE
6262define region IRAM_region = mem:[from __ICFEDIT_region_IRAM_start__ to __ICFEDIT_region_IRAM_end__];
6363
6464define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
65- define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
65+ define block HEAP with expanding size, alignment = 8, minimum size = __ICFEDIT_size_heap__ { };
6666/* NOTE: Vector table base address is required to be 128-byte aligned at a minimum.
6767 * A PE might impose further restrictions on it. */
6868define block IRAMVEC with alignment = 1024, size = 4 * (16 + 64) { };
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ define symbol __region_CRASH_DATA_RAM_end__ = 0x20018000 - 1;
3434/*-Sizes-*/
3535define symbol __ICFEDIT_size_cstack__ = MBED_BOOT_STACK_SIZE;
3636define symbol __ICFEDIT_size_intvec__ = (4 * (16 + 102));
37- define symbol __ICFEDIT_size_heap__ = 0x8000 ;
37+ define symbol __ICFEDIT_size_heap__ = 0x400 ;
3838/**** End of ICF editor section. ###ICF###*/
3939
4040
@@ -43,8 +43,8 @@ define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFED
4343define region IRAM_region = mem:[from __ICFEDIT_region_IRAM_start__ to __ICFEDIT_region_IRAM_end__];
4444define region CRASH_DATA_RAM_region = mem:[from __region_CRASH_DATA_RAM_start__ to __region_CRASH_DATA_RAM_end__];
4545
46- define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
47- define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
46+ define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
47+ define block HEAP with expanding size, alignment = 8, minimum size = __ICFEDIT_size_heap__ { };
4848/* NOTE: Vector table base requires to be aligned to the power of vector table size. Give a safe value here. */
4949define block IRAMVEC with alignment = 1024, size = __ICFEDIT_size_intvec__ { };
5050
Original file line number Diff line number Diff line change @@ -13,16 +13,16 @@ define symbol __ICFEDIT_region_IRAM_start__ = 0x20000000;
1313define symbol __ICFEDIT_region_IRAM_end__ = 0x20008000 - 1;
1414/*-Sizes-*/
1515define symbol __ICFEDIT_size_cstack__ = MBED_BOOT_STACK_SIZE;
16- define symbol __ICFEDIT_size_heap__ = 0x4000 ;
16+ define symbol __ICFEDIT_size_heap__ = 0x400 ;
1717/**** End of ICF editor section. ###ICF###*/
1818
1919
2020define memory mem with size = 4G;
2121define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
2222define region IRAM_region = mem:[from __ICFEDIT_region_IRAM_start__ to __ICFEDIT_region_IRAM_end__];
2323
24- define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
25- define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
24+ define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
25+ define block HEAP with expanding size, alignment = 8, minimum size = __ICFEDIT_size_heap__ { };
2626/* NOTE: Vector table base requires to be aligned to the power of vector table size. Give a safe value here. */
2727define block IRAMVEC with alignment = 1024, size = 4 * (16 + 64) { };
2828
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ define symbol __region_CRASH_DATA_RAM_end__ = 0x20028000 - 1;
1616/*-Sizes-*/
1717define symbol __ICFEDIT_size_cstack__ = MBED_BOOT_STACK_SIZE;
1818define symbol __ICFEDIT_size_intvec__ = (4 * (16 + 96));
19- define symbol __ICFEDIT_size_heap__ = 0x10000 ;
19+ define symbol __ICFEDIT_size_heap__ = 0x400 ;
2020/**** End of ICF editor section. ###ICF###*/
2121
2222
@@ -25,8 +25,8 @@ define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFED
2525define region IRAM_region = mem:[from __ICFEDIT_region_IRAM_start__ to __ICFEDIT_region_IRAM_end__];
2626define region CRASH_DATA_RAM_region = mem:[from __region_CRASH_DATA_RAM_start__ to __region_CRASH_DATA_RAM_end__];
2727
28- define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
29- define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
28+ define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
29+ define block HEAP with expanding size, alignment = 8, minimum size = __ICFEDIT_size_heap__ { };
3030/* NOTE: Vector table base requires to be aligned to the power of vector table size. Give a safe value here. */
3131define block IRAMVEC with alignment = 1024, size = __ICFEDIT_size_intvec__ { };
3232
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ define symbol __ICFEDIT_region_XRAM_start__ = 0x60000000;
1717define symbol __ICFEDIT_region_XRAM_end__ = 0x60100000 - 1;
1818/*-Sizes-*/
1919define symbol __ICFEDIT_size_cstack__ = MBED_BOOT_STACK_SIZE;
20- define symbol __ICFEDIT_size_heap__ = 0xC0000 ;
20+ define symbol __ICFEDIT_size_heap__ = 0x400 ;
2121/**** End of ICF editor section. ###ICF###*/
2222
2323
@@ -31,8 +31,8 @@ define region CRASH_DATA_RAM_region = mem:[from __region_CRASH_DATA_RAM_start__
3131define exported symbol __CRASH_DATA_RAM_START__ = __region_CRASH_DATA_RAM_start__;
3232define exported symbol __CRASH_DATA_RAM_END__ = __region_CRASH_DATA_RAM_end__;
3333
34- define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
35- define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
34+ define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
35+ define block HEAP with expanding size, alignment = 8, minimum size = __ICFEDIT_size_heap__ { };
3636/* NOTE: Vector table base requires to be aligned to the power of vector table size. Give a safe value here. */
3737define block IRAMVEC with alignment = 1024, size = 4 * (16 + 142) { };
3838/* Move non-critical libraries to external SRAM while internal SRAM is insufficient. */
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ define symbol __region_CRASH_DATA_RAM_start__ = 0x2000FF00;
1515define symbol __region_CRASH_DATA_RAM_end__ = 0x20010000 - 1;
1616/*-Sizes-*/
1717define symbol __ICFEDIT_size_cstack__ = MBED_BOOT_STACK_SIZE;
18- define symbol __ICFEDIT_size_heap__ = 0x8000 ;
18+ define symbol __ICFEDIT_size_heap__ = 0x400 ;
1919/**** End of ICF editor section. ###ICF###*/
2020
2121
@@ -28,8 +28,8 @@ define region CRASH_DATA_RAM_region = mem:[from __region_CRASH_DATA_RAM_start__
2828define exported symbol __CRASH_DATA_RAM_START__ = __region_CRASH_DATA_RAM_start__;
2929define exported symbol __CRASH_DATA_RAM_END__ = __region_CRASH_DATA_RAM_end__;
3030
31- define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
32- define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
31+ define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
32+ define block HEAP with expanding size, alignment = 8, minimum size = __ICFEDIT_size_heap__ { };
3333/* NOTE: Vector table base requires to be aligned to the power of vector table size. Give a safe value here. */
3434define block IRAMVEC with alignment = 1024, size = 4 * (16 + 142) { };
3535
You can’t perform that action at this time.
0 commit comments