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_
51
51
52
52
/*-Sizes-*/
53
53
define symbol __ICFEDIT_size_cstack__ = MBED_BOOT_STACK_SIZE;
54
- define symbol __ICFEDIT_size_heap__ = 0x4000 ;
54
+ define symbol __ICFEDIT_size_heap__ = 0x400 ;
55
55
56
56
57
57
/**** End of ICF editor section. ###ICF###*/
@@ -62,7 +62,7 @@ define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFE
62
62
define region IRAM_region = mem:[from __ICFEDIT_region_IRAM_start__ to __ICFEDIT_region_IRAM_end__];
63
63
64
64
define 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__ { };
66
66
/* NOTE: Vector table base address is required to be 128-byte aligned at a minimum.
67
67
* A PE might impose further restrictions on it. */
68
68
define 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;
34
34
/*-Sizes-*/
35
35
define symbol __ICFEDIT_size_cstack__ = MBED_BOOT_STACK_SIZE;
36
36
define symbol __ICFEDIT_size_intvec__ = (4 * (16 + 102));
37
- define symbol __ICFEDIT_size_heap__ = 0x8000 ;
37
+ define symbol __ICFEDIT_size_heap__ = 0x400 ;
38
38
/**** End of ICF editor section. ###ICF###*/
39
39
40
40
@@ -43,8 +43,8 @@ define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFED
43
43
define region IRAM_region = mem:[from __ICFEDIT_region_IRAM_start__ to __ICFEDIT_region_IRAM_end__];
44
44
define region CRASH_DATA_RAM_region = mem:[from __region_CRASH_DATA_RAM_start__ to __region_CRASH_DATA_RAM_end__];
45
45
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__ { };
48
48
/* NOTE: Vector table base requires to be aligned to the power of vector table size. Give a safe value here. */
49
49
define block IRAMVEC with alignment = 1024, size = __ICFEDIT_size_intvec__ { };
50
50
Original file line number Diff line number Diff line change @@ -13,16 +13,16 @@ define symbol __ICFEDIT_region_IRAM_start__ = 0x20000000;
13
13
define symbol __ICFEDIT_region_IRAM_end__ = 0x20008000 - 1;
14
14
/*-Sizes-*/
15
15
define symbol __ICFEDIT_size_cstack__ = MBED_BOOT_STACK_SIZE;
16
- define symbol __ICFEDIT_size_heap__ = 0x4000 ;
16
+ define symbol __ICFEDIT_size_heap__ = 0x400 ;
17
17
/**** End of ICF editor section. ###ICF###*/
18
18
19
19
20
20
define memory mem with size = 4G;
21
21
define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
22
22
define region IRAM_region = mem:[from __ICFEDIT_region_IRAM_start__ to __ICFEDIT_region_IRAM_end__];
23
23
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__ { };
26
26
/* NOTE: Vector table base requires to be aligned to the power of vector table size. Give a safe value here. */
27
27
define block IRAMVEC with alignment = 1024, size = 4 * (16 + 64) { };
28
28
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ define symbol __region_CRASH_DATA_RAM_end__ = 0x20028000 - 1;
16
16
/*-Sizes-*/
17
17
define symbol __ICFEDIT_size_cstack__ = MBED_BOOT_STACK_SIZE;
18
18
define symbol __ICFEDIT_size_intvec__ = (4 * (16 + 96));
19
- define symbol __ICFEDIT_size_heap__ = 0x10000 ;
19
+ define symbol __ICFEDIT_size_heap__ = 0x400 ;
20
20
/**** End of ICF editor section. ###ICF###*/
21
21
22
22
@@ -25,8 +25,8 @@ define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFED
25
25
define region IRAM_region = mem:[from __ICFEDIT_region_IRAM_start__ to __ICFEDIT_region_IRAM_end__];
26
26
define region CRASH_DATA_RAM_region = mem:[from __region_CRASH_DATA_RAM_start__ to __region_CRASH_DATA_RAM_end__];
27
27
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__ { };
30
30
/* NOTE: Vector table base requires to be aligned to the power of vector table size. Give a safe value here. */
31
31
define block IRAMVEC with alignment = 1024, size = __ICFEDIT_size_intvec__ { };
32
32
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ define symbol __ICFEDIT_region_XRAM_start__ = 0x60000000;
17
17
define symbol __ICFEDIT_region_XRAM_end__ = 0x60100000 - 1;
18
18
/*-Sizes-*/
19
19
define symbol __ICFEDIT_size_cstack__ = MBED_BOOT_STACK_SIZE;
20
- define symbol __ICFEDIT_size_heap__ = 0xC0000 ;
20
+ define symbol __ICFEDIT_size_heap__ = 0x400 ;
21
21
/**** End of ICF editor section. ###ICF###*/
22
22
23
23
@@ -31,8 +31,8 @@ define region CRASH_DATA_RAM_region = mem:[from __region_CRASH_DATA_RAM_start__
31
31
define exported symbol __CRASH_DATA_RAM_START__ = __region_CRASH_DATA_RAM_start__;
32
32
define exported symbol __CRASH_DATA_RAM_END__ = __region_CRASH_DATA_RAM_end__;
33
33
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__ { };
36
36
/* NOTE: Vector table base requires to be aligned to the power of vector table size. Give a safe value here. */
37
37
define block IRAMVEC with alignment = 1024, size = 4 * (16 + 142) { };
38
38
/* 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;
15
15
define symbol __region_CRASH_DATA_RAM_end__ = 0x20010000 - 1;
16
16
/*-Sizes-*/
17
17
define symbol __ICFEDIT_size_cstack__ = MBED_BOOT_STACK_SIZE;
18
- define symbol __ICFEDIT_size_heap__ = 0x8000 ;
18
+ define symbol __ICFEDIT_size_heap__ = 0x400 ;
19
19
/**** End of ICF editor section. ###ICF###*/
20
20
21
21
@@ -28,8 +28,8 @@ define region CRASH_DATA_RAM_region = mem:[from __region_CRASH_DATA_RAM_start__
28
28
define exported symbol __CRASH_DATA_RAM_START__ = __region_CRASH_DATA_RAM_start__;
29
29
define exported symbol __CRASH_DATA_RAM_END__ = __region_CRASH_DATA_RAM_end__;
30
30
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__ { };
33
33
/* NOTE: Vector table base requires to be aligned to the power of vector table size. Give a safe value here. */
34
34
define block IRAMVEC with alignment = 1024, size = 4 * (16 + 142) { };
35
35
You can’t perform that action at this time.
0 commit comments