Skip to content

Commit 72ae546

Browse files
author
Deepika
committed
TARGET_TOSHIBA :Setup heap limit and size
1 parent e522c46 commit 72ae546

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

targets/TARGET_TOSHIBA/TARGET_TMPM066/device/TOOLCHAIN_GCC_ARM/tmpm066fwug.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ SECTIONS
134134
__end__ = .;
135135
end = __end__;
136136
*(.heap*)
137+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
137138
__HeapLimit = .;
138139
} > RAM
139140

targets/TARGET_TOSHIBA/TARGET_TMPM3H6/device/TOOLCHAIN_GCC_ARM/tmpm3h6fwfg.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ SECTIONS
146146
__end__ = .;
147147
end = __end__;
148148
KEEP(*(.heap*))
149+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
149150
__HeapLimit = .;
150151
} > RAM
151152

targets/TARGET_TOSHIBA/TARGET_TMPM3HQ/device/TOOLCHAIN_GCC_ARM/tmpm3hqfdfg.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ SECTIONS
154154
__end__ = .;
155155
end = __end__;
156156
KEEP(*(.heap*))
157+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
157158
__HeapLimit = .;
158159
} > RAM
159160

targets/TARGET_TOSHIBA/TARGET_TMPM46B/device/TOOLCHAIN_GCC_ARM/tmpm46bf10fg.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ SECTIONS
191191
__end__ = .;
192192
end = __end__;
193193
KEEP(*(.heap*))
194+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
194195
__HeapLimit = .;
195196
} > RAM
196197

targets/TARGET_TOSHIBA/TARGET_TMPM4G9/device/TOOLCHAIN_GCC_ARM/tmpm4g9f15fg.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ SECTIONS
191191
__end__ = .;
192192
end = __end__;
193193
KEEP(*(.heap*))
194+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
194195
__HeapLimit = .;
195196
} > RAM
196197

0 commit comments

Comments
 (0)