Skip to content

Commit 8c63dbe

Browse files
author
Deepika
committed
Target_Maxim: Setup heap limit and size
1 parent 25a127e commit 8c63dbe

File tree

8 files changed

+8
-0
lines changed

8 files changed

+8
-0
lines changed

targets/TARGET_Maxim/TARGET_MAX32600/device/TOOLCHAIN_GCC_ARM/max32600.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ SECTIONS
166166
__end__ = .;
167167
end = __end__;
168168
*(.heap*)
169+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
169170
__HeapLimit = .;
170171
} > RAM
171172

targets/TARGET_Maxim/TARGET_MAX32610/device/TOOLCHAIN_GCC_ARM/max32610.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ SECTIONS
166166
__end__ = .;
167167
end = __end__;
168168
*(.heap*)
169+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
169170
__HeapLimit = .;
170171
} > RAM
171172

targets/TARGET_Maxim/TARGET_MAX32620/device/TOOLCHAIN_GCC_ARM/max32620.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ SECTIONS
160160
__end__ = .;
161161
end = __end__;
162162
*(.heap*)
163+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
163164
__HeapLimit = .;
164165
} > RAM
165166

targets/TARGET_Maxim/TARGET_MAX32620C/device/TOOLCHAIN_GCC_ARM/max32620.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ SECTIONS
160160
__end__ = .;
161161
end = __end__;
162162
*(.heap*)
163+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
163164
__HeapLimit = .;
164165
} > RAM
165166

targets/TARGET_Maxim/TARGET_MAX32625/device/TOOLCHAIN_GCC_ARM/TARGET_MAX32625NEXPAQ/max32625.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ SECTIONS
160160
__end__ = .;
161161
end = __end__;
162162
*(.heap*)
163+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
163164
__HeapLimit = .;
164165
} > RAM
165166

targets/TARGET_Maxim/TARGET_MAX32625/device/TOOLCHAIN_GCC_ARM/TARGET_MAX32625_BOOT/max32625.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ SECTIONS
168168
__end__ = .;
169169
end = __end__;
170170
*(.heap*)
171+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
171172
__HeapLimit = .;
172173
} > RAM
173174

targets/TARGET_Maxim/TARGET_MAX32625/device/TOOLCHAIN_GCC_ARM/TARGET_MAX32625_NO_BOOT/max32625.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ SECTIONS
160160
__end__ = .;
161161
end = __end__;
162162
*(.heap*)
163+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
163164
__HeapLimit = .;
164165
} > RAM
165166

targets/TARGET_Maxim/TARGET_MAX32630/device/TOOLCHAIN_GCC_ARM/max3263x.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ SECTIONS
160160
__end__ = .;
161161
end = __end__;
162162
*(.heap*)
163+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
163164
__HeapLimit = .;
164165
} > RAM
165166

0 commit comments

Comments
 (0)