summaryrefslogtreecommitdiff
path: root/firmware/app.lds
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/app.lds')
-rw-r--r--firmware/app.lds16
1 files changed, 8 insertions, 8 deletions
diff --git a/firmware/app.lds b/firmware/app.lds
index e3f6ef2e50..d88ce9fd60 100644
--- a/firmware/app.lds
+++ b/firmware/app.lds
@@ -369,14 +369,6 @@ SECTIONS
369 } > IRAM 369 } > IRAM
370 370
371#if defined(CPU_COLDFIRE) || defined(CPU_ARM) 371#if defined(CPU_COLDFIRE) || defined(CPU_ARM)
372 .stack :
373 {
374 *(.stack)
375 stackbegin = .;
376 . += 0x2000;
377 stackend = .;
378 } > IRAM
379
380#ifdef CPU_PP 372#ifdef CPU_PP
381 .idle_stacks : 373 .idle_stacks :
382 { 374 {
@@ -392,6 +384,14 @@ SECTIONS
392 } > IRAM 384 } > IRAM
393#endif 385#endif
394 386
387 .stack :
388 {
389 *(.stack)
390 stackbegin = .;
391 . += 0x2000;
392 stackend = .;
393 } > IRAM
394
395#else 395#else
396 /* TRICK ALERT! We want 0x2000 bytes of stack, but we set the section 396 /* TRICK ALERT! We want 0x2000 bytes of stack, but we set the section
397 size smaller, and allow the stack to grow into the .iram copy */ 397 size smaller, and allow the stack to grow into the .iram copy */