Skip to content

Commit 462f339

Browse files
author
Deepika
committed
TARGET_Wiznet: Setup heap limit and size
1 parent c6a72f2 commit 462f339

File tree

3 files changed

+3
-0
lines changed
  • targets/TARGET_WIZNET/TARGET_W7500x
    • TARGET_WIZwiki_W7500ECO/device/TOOLCHAIN_GCC_ARM
    • TARGET_WIZwiki_W7500P/device/TOOLCHAIN_GCC_ARM
    • TARGET_WIZwiki_W7500/device/TOOLCHAIN_GCC_ARM

3 files changed

+3
-0
lines changed

targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/device/TOOLCHAIN_GCC_ARM/W7500.ld

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

targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/device/TOOLCHAIN_GCC_ARM/W7500.ld

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

targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/device/TOOLCHAIN_GCC_ARM/W7500.ld

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

0 commit comments

Comments
 (0)