summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/app.lds4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/app.lds b/firmware/app.lds
index 8e7dc02e27..22acdb86ba 100644
--- a/firmware/app.lds
+++ b/firmware/app.lds
@@ -186,7 +186,11 @@ SECTIONS
186 *(.stack) 186 *(.stack)
187 _stackbegin = . - SIZEOF(.iram); 187 _stackbegin = . - SIZEOF(.iram);
188 stackbegin = . - SIZEOF(.iram); 188 stackbegin = . - SIZEOF(.iram);
189#if MEMORYSIZE >= 32
190 . += 0x8000 - SIZEOF(.iram);
191#else
189 . += 0x2000 - SIZEOF(.iram); 192 . += 0x2000 - SIZEOF(.iram);
193#endif
190 _stackend = .; 194 _stackend = .;
191 stackend = .; 195 stackend = .;
192 } > DRAM 196 } > DRAM