aboutsummaryrefslogtreecommitdiffstats
path: root/support/ld
diff options
context:
space:
mode:
Diffstat (limited to 'support/ld')
-rw-r--r--support/ld/maple_native/flash.ld4
-rw-r--r--support/ld/maple_native/jtag.ld4
-rw-r--r--support/ld/maple_native/ram.ld4
3 files changed, 12 insertions, 0 deletions
diff --git a/support/ld/maple_native/flash.ld b/support/ld/maple_native/flash.ld
index ad92d10..20326e4 100644
--- a/support/ld/maple_native/flash.ld
+++ b/support/ld/maple_native/flash.ld
@@ -17,5 +17,9 @@ REGION_ALIAS("REGION_TEXT", rom);
REGION_ALIAS("REGION_DATA", ram);
REGION_ALIAS("REGION_BSS", ram);
+/* Specify heap boundary addresses on the external SRAM chip */
+_lm_heap_start = 0x60000000;
+_lm_heap_end = 0x60100000;
+
INCLUDE common_rom.inc
diff --git a/support/ld/maple_native/jtag.ld b/support/ld/maple_native/jtag.ld
index d6cf189..73157de 100644
--- a/support/ld/maple_native/jtag.ld
+++ b/support/ld/maple_native/jtag.ld
@@ -18,4 +18,8 @@ REGION_ALIAS("REGION_TEXT", rom);
REGION_ALIAS("REGION_DATA", ram);
REGION_ALIAS("REGION_BSS", ram);
+/* Specify heap boundary addresses on the external SRAM chip */
+_lm_heap_start = 0x60000000;
+_lm_heap_end = 0x60100000;
+
INCLUDE common_rom.inc
diff --git a/support/ld/maple_native/ram.ld b/support/ld/maple_native/ram.ld
index b092e54..d38e43c 100644
--- a/support/ld/maple_native/ram.ld
+++ b/support/ld/maple_native/ram.ld
@@ -17,4 +17,8 @@ REGION_ALIAS("REGION_TEXT", ram);
REGION_ALIAS("REGION_DATA", ram);
REGION_ALIAS("REGION_BSS", ram);
+/* Specify heap boundary addresses on the external SRAM chip */
+_lm_heap_start = 0x60000000;
+_lm_heap_end = 0x60100000;
+
INCLUDE common_ram.inc