Skip to content

Commit 57b9ccc

Browse files
author
Deepika
committed
Target_NXP: Setup heap limit and size
1 parent b2e189f commit 57b9ccc

File tree

26 files changed

+29
-26
lines changed

26 files changed

+29
-26
lines changed

targets/TARGET_NXP/TARGET_LPC11UXX/device/TOOLCHAIN_GCC_ARM/TARGET_LPC11U24_301/LPC11U24.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ SECTIONS
138138
__end__ = .;
139139
end = __end__;
140140
*(.heap*)
141+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
141142
__HeapLimit = .;
142143
} > RAM
143144

targets/TARGET_NXP/TARGET_LPC11UXX/device/TOOLCHAIN_GCC_ARM/TARGET_LPC11U24_401/LPC11U24.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ SECTIONS
138138
__end__ = .;
139139
end = __end__;
140140
*(.heap*)
141+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
141142
__HeapLimit = .;
142143
} > RAM
143144

targets/TARGET_NXP/TARGET_LPC11UXX/device/TOOLCHAIN_GCC_ARM/TARGET_LPC11U34_421/LPC11U34.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ SECTIONS
136136
__end__ = .;
137137
end = __end__;
138138
*(.heap*)
139+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
139140
__HeapLimit = .;
140141
} > RAM
141142

targets/TARGET_NXP/TARGET_LPC11UXX/device/TOOLCHAIN_GCC_ARM/TARGET_LPC11U35_401/LPC11U35.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ SECTIONS
136136
__end__ = .;
137137
end = __end__;
138138
*(.heap*)
139+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
139140
__HeapLimit = .;
140141
} > RAM
141142

targets/TARGET_NXP/TARGET_LPC11UXX/device/TOOLCHAIN_GCC_ARM/TARGET_LPC11U35_501/LPC11U35.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ SECTIONS
136136
__end__ = .;
137137
end = __end__;
138138
*(.heap*)
139+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
139140
__HeapLimit = .;
140141
} > RAM
141142

targets/TARGET_NXP/TARGET_LPC11UXX/device/TOOLCHAIN_GCC_ARM/TARGET_LPC11U35_Y5_MBUG/LPC11U35.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ SECTIONS
136136
__end__ = .;
137137
end = __end__;
138138
*(.heap*)
139+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
139140
__HeapLimit = .;
140141
} > RAM
141142

targets/TARGET_NXP/TARGET_LPC11UXX/device/TOOLCHAIN_GCC_ARM/TARGET_LPC11U37H_401/LPC11U37.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ SECTIONS
137137
__end__ = .;
138138
end = __end__;
139139
*(.heap*)
140+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
140141
__HeapLimit = .;
141142
} > RAM
142143

targets/TARGET_NXP/TARGET_LPC11UXX/device/TOOLCHAIN_GCC_ARM/TARGET_LPC11U37_501/LPC11U37.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ SECTIONS
136136
__end__ = .;
137137
end = __end__;
138138
*(.heap*)
139+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
139140
__HeapLimit = .;
140141
} > RAM
141142

targets/TARGET_NXP/TARGET_LPC11UXX/device/TOOLCHAIN_GCC_ARM/TARGET_LPCCAPPUCCINO/LPC11U37.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ SECTIONS
136136
__end__ = .;
137137
end = __end__;
138138
*(.heap*)
139+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
139140
__HeapLimit = .;
140141
} > RAM
141142

targets/TARGET_NXP/TARGET_LPC11UXX/device/TOOLCHAIN_GCC_ARM/TARGET_OC_MBUINO/LPC11U24.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ SECTIONS
138138
__end__ = .;
139139
end = __end__;
140140
*(.heap*)
141+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
141142
__HeapLimit = .;
142143
} > RAM
143144

0 commit comments

Comments
 (0)