Skip to content

Commit 3fd5f53

Browse files
Deepika0xc0170
authored andcommitted
Dynamic heap support will be breaking change for all targets in IAR 7.x
Reverting this feature till IAR 8.x is stable and supported in Mbed OS for few releases 1. Revert "Add Dynamic heap support to IAR" This reverts commit 8ee29bb. 2. Revert "Splited RAM section not compatible with dynamic HEAP." This reverts commit a645bb2. 3. Revert "Add Dynamic heap support to IAR" This reverts commit 891e1f2.
1 parent e54be4a commit 3fd5f53

File tree

144 files changed

+167
-156
lines changed

Some content is hidden

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

144 files changed

+167
-156
lines changed

targets/TARGET_ARM_FM/TARGET_FVP_MPS2/TARGET_FVP_MPS2_M0/device/TOOLCHAIN_IAR/MPS2.icf

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

6565
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
66-
define block HEAP with expanding size, minimum size = __ICFEDIT_size_heap__, alignment = 8 { };
66+
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
6767

6868
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
6969
place in ROM_region { readonly };

targets/TARGET_ARM_FM/TARGET_FVP_MPS2/TARGET_FVP_MPS2_M0P/device/TOOLCHAIN_IAR/MPS2.icf

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

6565
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
66-
define block HEAP with expanding size, minimum size = __ICFEDIT_size_heap__, alignment = 8 { };
66+
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
6767

6868
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
6969
place in ROM_region { readonly };

targets/TARGET_ARM_FM/TARGET_FVP_MPS2/TARGET_FVP_MPS2_M3/device/TOOLCHAIN_IAR/MPS2.icf

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

6565
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
66-
define block HEAP with expanding size, minimum size = __ICFEDIT_size_heap__, alignment = 8 { };
66+
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
6767

6868
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
6969
place in ROM_region { readonly };

targets/TARGET_ARM_FM/TARGET_FVP_MPS2/TARGET_FVP_MPS2_M4/device/TOOLCHAIN_IAR/MPS2.icf

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

6565
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
66-
define block HEAP with expanding size, minimum size = __ICFEDIT_size_heap__, alignment = 8 { };
66+
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
6767

6868
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
6969
place in ROM_region { readonly };

targets/TARGET_ARM_FM/TARGET_FVP_MPS2/TARGET_FVP_MPS2_M7/device/TOOLCHAIN_IAR/MPS2.icf

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

6565
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
66-
define block HEAP with expanding size, minimum size = __ICFEDIT_size_heap__, alignment = 8 { };
66+
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
6767

6868
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
6969
place in ROM_region { readonly };

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_Analog_Devices/TARGET_ADUCM302X/TARGET_ADUCM3029/TOOLCHAIN_IAR/ADuCM3029.icf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ define region RAM_bank1_region = mem:[from 0x20000200 size 0x00003E00
5454
define region RAM_bank2_region = mem:[from 0x20004000 size 0x00004000]
5555
| mem:[from 0x20040000 size 0x00007000];
5656
define block CSTACK with alignment = 16, size = MBED_BOOT_STACK_SIZE { };
57-
define block HEAP with expanding size, minimum size = 0x2000, alignment = 16 { };
58-
57+
define block HEAP with alignment = 16, size = 0x2000 { };
5958
do not initialize { section .noinit };
6059
initialize by copy { rw };
6160
place at start of ROM_PAGE0_INTVEC { ro section .vectors };

targets/TARGET_Analog_Devices/TARGET_ADUCM4X50/TARGET_ADUCM4050/TOOLCHAIN_IAR/ADuCM4050.icf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,8 @@ define region ROM_REGION = mem:[from MBED_APP_START+ADUCM_SECTO
5353
define region RAM_bank1_region = mem:[from 0x20040000 size 0x00008000];
5454
define region RAM_bank2_region = mem:[from 0x20000200 size 0x00006E00]
5555
| mem:[from 0x20048000 size 0x00010000];
56-
5756
define block CSTACK with alignment = 16, size = MBED_BOOT_STACK_SIZE { };
58-
define block HEAP with expanding size, minimum size = 0x6000, alignment = 16 { };
59-
57+
define block HEAP with alignment = 16, size = 0x6000 { };
6058
do not initialize { section .noinit };
6159
initialize by copy { rw };
6260
place at start of ROM_PAGE0_INTVEC { ro section .vectors };

targets/TARGET_Cypress/TARGET_PSOC6_FUTURE/TARGET_CY8C63XX/TARGET_MCU_PSOC6_M0/device/TOOLCHAIN_IAR/cy8c6xx7_cm0plus.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ define region IRAM1_region = mem:[from __ICFEDIT_region_IRAM1_start__ to __ICFED
148148

149149
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
150150
define block PROC_STACK with alignment = 8, size = __ICFEDIT_size_proc_stack__ { };
151-
define block HEAP with expanding size, minimum size = __ICFEDIT_size_heap__, alignment = 8 { };
151+
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
152152
define block HSTACK {block HEAP, block PROC_STACK, last block CSTACK};
153153
define block RO {first section .intvec, readonly};
154154

0 commit comments

Comments
 (0)