Skip to content

Commit 6c84b59

Browse files
authored
Merge pull request #9432 from deepikabhavnani/IAR8_template_changes
Update IAR project template and revert dynamic heap support
2 parents 1809d93 + fdf59cf commit 6c84b59

File tree

112 files changed

+1106
-1013
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+1106
-1013
lines changed

targets/TARGET_ARM_SSG/TARGET_BEETLE/device/TOOLCHAIN_IAR/BEETLE.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ initialize by copy { readwrite };
4747
do not initialize { section .noinit };
4848

4949
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
50-
define block HEAP with expanding size, minimum size = __ICFEDIT_size_heap__, alignment = 8 { };
50+
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
5151

5252
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
5353
place in ROM_region { readonly };

targets/TARGET_ARM_SSG/TARGET_CM3DS_MPS2/device/TOOLCHAIN_IAR/MPS2.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ initialize by copy { readwrite };
7171
do not initialize { section .noinit };
7272

7373
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
74-
define block HEAP with expanding size, minimum size = __ICFEDIT_size_heap__, alignment = 8 { };
74+
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
7575

7676
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
7777
place in ROM_region { readonly };

targets/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/device/TOOLCHAIN_IAR/MK20D5.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_r
3636
define region FlexRAM_region = mem:[from __region_FlexRAM_start__ to __region_FlexRAM_end__];
3737

3838
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
39-
define block HEAP with expanding size, minimum size = __ICFEDIT_size_heap__, alignment = 8 { };
39+
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
4040

4141
define region FlashConfig_region = mem:[from __FlashConfig_start__ to __FlashConfig_end__];
4242

targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/device/TOOLCHAIN_IAR/MKL05Z4.icf

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ define symbol __ICFEDIT_region_ROM_end__ = 0x00007fff;
99
define symbol __ICFEDIT_region_NVIC_start__ = 0x1ffffc00;
1010
define symbol __ICFEDIT_region_NVIC_end__ = 0x1ffffcbf;
1111
define symbol __ICFEDIT_region_RAM_start__ = 0x1ffffcc0;
12-
define symbol __ICFEDIT_region_RAM_end__ = 0x20000bff;
12+
define symbol __ICFEDIT_region_RAM_end__ = 0x1fffffff;
1313
/*-Sizes-*/
1414
if (!isdefinedsymbol(MBED_BOOT_STACK_SIZE)) {
1515
define symbol MBED_BOOT_STACK_SIZE = 0x400;
@@ -18,15 +18,18 @@ define symbol __ICFEDIT_size_cstack__ = MBED_BOOT_STACK_SIZE;
1818
define symbol __ICFEDIT_size_heap__ = 0x400;
1919
/**** End of ICF editor section. ###ICF###*/
2020

21+
define symbol __region_RAM2_start__ = 0x20000000;
22+
define symbol __region_RAM2_end__ = 0x20000bff;
23+
2124
define symbol __FlashConfig_start__ = 0x00000400;
2225
define symbol __FlashConfig_end__ = 0x0000040f;
2326

2427
define memory mem with size = 4G;
2528
define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to (__FlashConfig_start__ - 1)] | mem:[from (__FlashConfig_end__+1) to __ICFEDIT_region_ROM_end__];
26-
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
29+
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__] | mem:[from __region_RAM2_start__ to __region_RAM2_end__];
2730

2831
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
29-
define block HEAP with expanding size, minimum size = __ICFEDIT_size_heap__, alignment = 8 { };
32+
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
3033

3134
define region FlashConfig_region = mem:[from __FlashConfig_start__ to __FlashConfig_end__];
3235

targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device/TOOLCHAIN_IAR/MKL25Z4.icf

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ define symbol __ICFEDIT_region_ROM_end__ = 0x0001ffff;
99
define symbol __ICFEDIT_region_NVIC_start__ = 0x1ffff000;
1010
define symbol __ICFEDIT_region_NVIC_end__ = 0x1ffff0bf;
1111
define symbol __ICFEDIT_region_RAM_start__ = 0x1ffff0c0;
12-
define symbol __ICFEDIT_region_RAM_end__ = 0x20002fff;
12+
define symbol __ICFEDIT_region_RAM_end__ = 0x1fffffff;
1313
/*-Sizes-*/
1414
if (!isdefinedsymbol(MBED_BOOT_STACK_SIZE)) {
1515
define symbol MBED_BOOT_STACK_SIZE = 0x400;
@@ -18,15 +18,18 @@ define symbol __ICFEDIT_size_cstack__ = MBED_BOOT_STACK_SIZE;
1818
define symbol __ICFEDIT_size_heap__ = 0xC00;
1919
/**** End of ICF editor section. ###ICF###*/
2020

21+
define symbol __region_RAM2_start__ = 0x20000000;
22+
define symbol __region_RAM2_end__ = 0x20002fff;
23+
2124
define symbol __FlashConfig_start__ = 0x00000400;
2225
define symbol __FlashConfig_end__ = 0x0000040f;
2326

2427
define memory mem with size = 4G;
2528
define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to (__FlashConfig_start__ - 1)] | mem:[from (__FlashConfig_end__+1) to __ICFEDIT_region_ROM_end__];
26-
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
29+
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__] | mem:[from __region_RAM2_start__ to __region_RAM2_end__];
2730

2831
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
29-
define block HEAP with expanding size, minimum size = __ICFEDIT_size_heap__, alignment = 8 { };
32+
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
3033

3134
define region FlashConfig_region = mem:[from __FlashConfig_start__ to __FlashConfig_end__];
3235

targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/device/TOOLCHAIN_IAR/MKL26Z4.icf

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ define symbol __ICFEDIT_region_ROM_end__ = 0x0001ffff;
99
define symbol __ICFEDIT_region_NVIC_start__ = 0x1ffff000;
1010
define symbol __ICFEDIT_region_NVIC_end__ = 0x1ffff0bf;
1111
define symbol __ICFEDIT_region_RAM_start__ = 0x1ffff0c0;
12-
define symbol __ICFEDIT_region_RAM_end__ = 0x20002fff;
12+
define symbol __ICFEDIT_region_RAM_end__ = 0x1fffffff;
1313
/*-Sizes-*/
1414
if (!isdefinedsymbol(MBED_BOOT_STACK_SIZE)) {
1515
define symbol MBED_BOOT_STACK_SIZE = 0x400;
@@ -18,15 +18,18 @@ define symbol __ICFEDIT_size_cstack__ = MBED_BOOT_STACK_SIZE;
1818
define symbol __ICFEDIT_size_heap__ = 0x1000;
1919
/**** End of ICF editor section. ###ICF###*/
2020

21+
define symbol __region_RAM2_start__ = 0x20000000;
22+
define symbol __region_RAM2_end__ = 0x20002fff;
23+
2124
define symbol __FlashConfig_start__ = 0x00000400;
2225
define symbol __FlashConfig_end__ = 0x0000040f;
2326

2427
define memory mem with size = 4G;
2528
define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to (__FlashConfig_start__ - 1)] | mem:[from (__FlashConfig_end__+1) to __ICFEDIT_region_ROM_end__];
26-
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
29+
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__] | mem:[from __region_RAM2_start__ to __region_RAM2_end__];
2730

2831
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
29-
define block HEAP with expanding size, minimum size = __ICFEDIT_size_heap__, alignment = 8 { };
32+
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
3033

3134
define region FlashConfig_region = mem:[from __FlashConfig_start__ to __FlashConfig_end__];
3235

targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/device/TOOLCHAIN_IAR/MKL46Z4.icf

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ define symbol __ICFEDIT_region_ROM_end__ = 0x0002ffff;
99
define symbol __ICFEDIT_region_NVIC_start__ = 0x1fffe000;
1010
define symbol __ICFEDIT_region_NVIC_end__ = 0x1fffe0bf;
1111
define symbol __ICFEDIT_region_RAM_start__ = 0x1fffe0c0;
12-
define symbol __ICFEDIT_region_RAM_end__ = 0x20005fff;
12+
define symbol __ICFEDIT_region_RAM_end__ = 0x1fffffff;
1313
/*-Sizes-*/
1414
if (!isdefinedsymbol(MBED_BOOT_STACK_SIZE)) {
1515
define symbol MBED_BOOT_STACK_SIZE = 0x400;
@@ -18,15 +18,19 @@ define symbol __ICFEDIT_size_cstack__ = MBED_BOOT_STACK_SIZE;
1818
define symbol __ICFEDIT_size_heap__ = 0x4000;
1919
/**** End of ICF editor section. ###ICF###*/
2020

21+
define symbol __region_RAM2_start__ = 0x20000000;
22+
define symbol __region_RAM2_end__ = 0x20005fff;
23+
2124
define symbol __FlashConfig_start__ = 0x00000400;
2225
define symbol __FlashConfig_end__ = 0x0000040f;
2326

2427
define memory mem with size = 4G;
2528
define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to (__FlashConfig_start__ - 1)] | mem:[from (__FlashConfig_end__+1) to __ICFEDIT_region_ROM_end__];
26-
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
29+
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__] | mem:[from __region_RAM2_start__ to __region_RAM2_end__];
2730

2831
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
29-
define block HEAP with expanding size, minimum size = __ICFEDIT_size_heap__, alignment = 8 { };
32+
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
33+
3034
define region FlashConfig_region = mem:[from __FlashConfig_start__ to __FlashConfig_end__];
3135

3236
initialize by copy { readwrite };

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K66F/device/TOOLCHAIN_IAR/MK66FN2M0xxx18.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ define region CSTACK_region = mem:[from m_data_2_end-__size_cstack__+1 to m_data
112112
define region m_interrupts_ram_region = mem:[from m_interrupts_ram_start to m_interrupts_ram_end];
113113

114114
define block CSTACK with alignment = 8, size = __size_cstack__ { };
115-
define block HEAP with expanding size, minimum size = __size_heap__, alignment = 8 { };
115+
define block HEAP with alignment = 8, size = __size_heap__ { };
116116
define block RW { readwrite };
117117
define block ZI { zi };
118118

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K82F/device/TOOLCHAIN_IAR/MK82FN256xxx15.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ define region CSTACK_region = mem:[from m_data_2_end-__size_cstack__+1 to m_data
107107
define region m_interrupts_ram_region = mem:[from m_interrupts_ram_start to m_interrupts_ram_end];
108108

109109
define block CSTACK with alignment = 8, size = __size_cstack__ { };
110-
define block HEAP with expanding size, minimum size = __size_heap__, alignment = 8 { };
110+
define block HEAP with alignment = 8, size = __size_heap__ { };
111111
define block RW { readwrite };
112112
define block ZI { zi };
113113

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL27Z/device/TOOLCHAIN_IAR/MKL27Z64xxx4.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ define region CSTACK_region = mem:[from m_data_end-__size_cstack__+1 to m_data_e
100100
define region m_interrupts_ram_region = mem:[from m_interrupts_ram_start to m_interrupts_ram_end];
101101

102102
define block CSTACK with alignment = 8, size = __size_cstack__ { };
103-
define block HEAP with expanding size, minimum size = __size_heap__, alignment = 8 { };
103+
define block HEAP with alignment = 8, size = __size_heap__ { };
104104
define block RW { readwrite };
105105
define block ZI { zi };
106106

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL43Z/device/TOOLCHAIN_IAR/MKL43Z256xxx4.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ define region CSTACK_region = mem:[from m_data_end-__size_cstack__+1 to m_data_e
9797
define region m_interrupts_ram_region = mem:[from m_interrupts_ram_start to m_interrupts_ram_end];
9898

9999
define block CSTACK with alignment = 8, size = __size_cstack__ { };
100-
define block HEAP with expanding size, minimum size = __size_heap__, alignment = 8 { };
100+
define block HEAP with alignment = 8, size = __size_heap__ { };
101101
define block RW { readwrite };
102102
define block ZI { zi };
103103

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL82Z/device/TOOLCHAIN_IAR/MKL82Z128xxx7.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ define region CSTACK_region = mem:[from m_data_end-__size_cstack__+1 to m_data_e
110110
define region m_interrupts_ram_region = mem:[from m_interrupts_ram_start to m_interrupts_ram_end];
111111

112112
define block CSTACK with alignment = 8, size = __size_cstack__ { };
113-
define block HEAP with expanding size, minimum size = __size_heap__, alignment = 8 { };
113+
define block HEAP with alignment = 8, size = __size_heap__ { };
114114
define block RW { readwrite };
115115
define block ZI { zi };
116116

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KW24D/device/TOOLCHAIN_IAR/MKW24D512xxx5.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ define region CSTACK_region = mem:[from m_data_2_end-__size_cstack__+1 to m_data
107107
define region m_interrupts_ram_region = mem:[from m_interrupts_ram_start to m_interrupts_ram_end];
108108

109109
define block CSTACK with alignment = 8, size = __size_cstack__ { };
110-
define block HEAP with expanding size, minimum size = __size_heap__, alignment = 8 { };
110+
define block HEAP with alignment = 8, size = __size_heap__ { };
111111
define block RW { readwrite };
112112
define block ZI { zi };
113113

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KW41Z/device/TOOLCHAIN_IAR/MKW41Z512xxx4.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ define region CSTACK_region = mem:[from m_data_end-__size_cstack__+1 to m_data_e
103103
define region m_interrupts_ram_region = mem:[from m_interrupts_ram_start to m_interrupts_ram_end];
104104

105105
define block CSTACK with alignment = 8, size = __size_cstack__ { };
106-
define block HEAP with expanding size, minimum size = __size_heap__, alignment = 8 { };
106+
define block HEAP with alignment = 8, size = __size_heap__ { };
107107
define block RW { readwrite };
108108
define block ZI { zi };
109109

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K22F/TARGET_MCU_K22F512/device/TOOLCHAIN_IAR/MK22F51212.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ define region CSTACK_region = mem:[from m_data_2_end-__size_cstack__+1 to m_data
103103
define region m_interrupts_ram_region = mem:[from m_interrupts_ram_start to m_interrupts_ram_end];
104104

105105
define block CSTACK with alignment = 8, size = __size_cstack__ { };
106-
define block HEAP with expanding size, minimum size = __size_heap__, alignment = 8 { };
106+
define block HEAP with alignment = 8, size = __size_heap__ { };
107107
define block RW { readwrite };
108108
define block ZI { zi };
109109

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K24F/TARGET_MCU_K24F1M/device/TOOLCHAIN_IAR/MK24FN1M0xxx12.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ define region CSTACK_region = mem:[from m_data_2_end-__size_cstack__+1 to m_data
110110
define region m_interrupts_ram_region = mem:[from m_interrupts_ram_start to m_interrupts_ram_end];
111111

112112
define block CSTACK with alignment = 8, size = __size_cstack__ { };
113-
define block HEAP with expanding size, minimum size = __size_heap__, alignment = 8 { };
113+
define block HEAP with alignment = 8, size = __size_heap__ { };
114114
define block RW { readwrite };
115115
define block ZI { zi };
116116

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/device/TOOLCHAIN_IAR/MK64FN1M0xxx12.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ define region CSTACK_region = mem:[from m_data_2_end-__size_cstack__+1 to m_data
117117
define region m_interrupts_ram_region = mem:[from m_interrupts_ram_start to m_interrupts_ram_end];
118118

119119
define block CSTACK with alignment = 8, size = __size_cstack__ { };
120-
define block HEAP with expanding size, minimum size = __size_heap__, alignment = 8 { };
120+
define block HEAP with alignment = 8, size = __size_heap__ { };
121121
define block RW { readwrite };
122122
define block ZI { zi };
123123

targets/TARGET_Maxim/TARGET_MAX32600/device/TOOLCHAIN_IAR/MAX32600.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if (!isdefinedsymbol(MBED_BOOT_STACK_SIZE)) {
2121
define symbol __size_cstack__ = MBED_BOOT_STACK_SIZE;
2222
define symbol __size_heap__ = 0x3000;
2323
define block CSTACK with alignment = 8, size = __size_cstack__ { };
24-
define block HEAP with expanding size, minimum size = __size_heap__, alignment = 8 { };
24+
define block HEAP with alignment = 8, size = __size_heap__ { };
2525

2626
initialize by copy { readwrite };
2727
do not initialize { section .noinit };

targets/TARGET_Maxim/TARGET_MAX32610/device/TOOLCHAIN_IAR/MAX32610.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if (!isdefinedsymbol(MBED_BOOT_STACK_SIZE)) {
2222
define symbol __size_cstack__ = MBED_BOOT_STACK_SIZE;
2323
define symbol __size_heap__ = 0x3000;
2424
define block CSTACK with alignment = 8, size = __size_cstack__ { };
25-
define block HEAP with expanding size, minimum size = __size_heap__, alignment = 8 { };
25+
define block HEAP with alignment = 8, size = __size_heap__ { };
2626

2727
initialize by copy { readwrite };
2828
do not initialize { section .noinit };

targets/TARGET_Maxim/TARGET_MAX32620/device/TOOLCHAIN_IAR/MAX32620.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if (!isdefinedsymbol(MBED_BOOT_STACK_SIZE)) {
2222
define symbol __size_cstack__ = MBED_BOOT_STACK_SIZE;
2323
define symbol __size_heap__ = 0x4000;
2424
define block CSTACK with alignment = 8, size = __size_cstack__ { };
25-
define block HEAP with expanding size, minimum size = __size_heap__, alignment = 8 { };
25+
define block HEAP with alignment = 8, size = __size_heap__ { };
2626

2727
initialize by copy { readwrite };
2828
do not initialize { section .noinit };

targets/TARGET_Maxim/TARGET_MAX32625/device/TOOLCHAIN_IAR/TARGET_MAX32625NEXPAQ/MAX32625.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if (!isdefinedsymbol(MBED_BOOT_STACK_SIZE)) {
2121
define symbol __size_cstack__ = MBED_BOOT_STACK_SIZE;
2222
define symbol __size_heap__ = 0xA000;
2323
define block CSTACK with alignment = 8, size = __size_cstack__ { };
24-
define block HEAP with expanding size, minimum size = __size_heap__, alignment = 8 { };
24+
define block HEAP with alignment = 8, size = __size_heap__ { };
2525

2626
initialize by copy { readwrite };
2727
do not initialize { section .noinit };

targets/TARGET_Maxim/TARGET_MAX32625/device/TOOLCHAIN_IAR/TARGET_MAX32625_NO_BOOT/MAX32625.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if (!isdefinedsymbol(MBED_BOOT_STACK_SIZE)) {
2121
define symbol __size_cstack__ = MBED_BOOT_STACK_SIZE;
2222
define symbol __size_heap__ = 0xA000;
2323
define block CSTACK with alignment = 8, size = __size_cstack__ { };
24-
define block HEAP with expanding size, minimum size = __size_heap__, alignment = 8 { };
24+
define block HEAP with alignment = 8, size = __size_heap__ { };
2525

2626
initialize by copy { readwrite };
2727
do not initialize { section .noinit };

targets/TARGET_Maxim/TARGET_MAX32630/device/TOOLCHAIN_IAR/MAX3263x.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if (!isdefinedsymbol(MBED_BOOT_STACK_SIZE)) {
2121
define symbol __size_cstack__ = MBED_BOOT_STACK_SIZE;
2222
define symbol __size_heap__ = 0xA000;
2323
define block CSTACK with alignment = 8, size = __size_cstack__ { };
24-
define block HEAP with expanding size, minimum size = __size_heap__, alignment = 8 { };
24+
define block HEAP with alignment = 8, size = __size_heap__ { };
2525

2626
initialize by copy { readwrite };
2727
do not initialize { section .noinit };

targets/TARGET_NORDIC/TARGET_MCU_NRF51822/device/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_16K/nRF51822_QFAA.icf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFED
2323
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
2424

2525
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
26-
define block HEAP with expanding size, minimum size = __ICFEDIT_size_heap__, alignment = 8 { };
26+
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
27+
2728
initialize by copy { readwrite };
2829
do not initialize { section .noinit };
2930

targets/TARGET_NORDIC/TARGET_MCU_NRF51822/device/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_32K/nRF51822_QFAA.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFED
2323
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
2424

2525
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
26-
define block HEAP with expanding size, minimum size = __ICFEDIT_size_heap__, alignment = 8 { };
26+
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
2727

2828
initialize by copy { readwrite };
2929
do not initialize { section .noinit };

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF51/TARGET_MCU_NRF51822_UNIFIED/device/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_16K/nRF51822_QFAA.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFED
2525
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
2626

2727
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
28-
define block HEAP with expanding size, minimum size = __ICFEDIT_size_heap__, alignment = 8 { };
28+
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
2929

3030
initialize by copy { readwrite };
3131
do not initialize { section .noinit };

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF51/TARGET_MCU_NRF51822_UNIFIED/device/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_32K/nRF51822_QFAA.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFED
2525
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
2626

2727
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
28-
define block HEAP with expanding size, minimum size = __ICFEDIT_size_heap__, alignment = 8 { };
28+
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
2929

3030
initialize by copy { readwrite };
3131
do not initialize { section .noinit };

targets/TARGET_NUVOTON/TARGET_M451/device/TOOLCHAIN_IAR/M453.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFED
2222
define region IRAM_region = mem:[from __ICFEDIT_region_IRAM_start__ to __ICFEDIT_region_IRAM_end__];
2323

2424
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
25-
define block HEAP with expanding size, minimum size = __ICFEDIT_size_heap__, alignment = 8 { };
25+
define block HEAP with alignment = 8, 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. */
2727
define block IRAMVEC with alignment = 1024, size = 4 * (16 + 64) { };
2828

targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_IAR/M487.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFED
2424
define region IRAM_region = mem:[from __ICFEDIT_region_IRAM_start__ to __ICFEDIT_region_IRAM_end__];
2525

2626
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
27-
define block HEAP with expanding size, minimum size = __ICFEDIT_size_heap__, alignment = 8 { };
27+
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
2828
/* NOTE: Vector table base requires to be aligned to the power of vector table size. Give a safe value here. */
2929
define block IRAMVEC with alignment = 1024, size = __ICFEDIT_size_intvec__ { };
3030
define block CRASH_DATA_RAM with alignment = 8, size = __ICFEDIT_size_crash_data__ { };

0 commit comments

Comments
 (0)