summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/rom.lds4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/rom.lds b/firmware/rom.lds
index 0967c6b88a..723977295a 100644
--- a/firmware/rom.lds
+++ b/firmware/rom.lds
@@ -139,7 +139,11 @@ SECTIONS
. += 0x2000;
_stackend = .;
stackend = .;
+#if IRAMSIZE > 0x1000
} > IRAM
+#else
+ } > DRAM
+#endif
#ifdef CPU_COLDFIRE
.bss ADDR(.data) + SIZEOF(.data) + SIZEOF(.iram):