summaryrefslogtreecommitdiffstats
path: root/script.ld
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2024-09-15 15:07:00 +0800
committerSadeep Madurange <sadeep@asciimx.com>2024-09-15 15:07:00 +0800
commit9b8bc868509f3ec0fffcc85634e43535dc09b421 (patch)
tree0ac2ac526c2628043f96a0481ba4c748b6295c80 /script.ld
parent177af7ea712d5fe70e1e96b453361db60dfffdab (diff)
downloadbare-metal-arduino-due-9b8bc868509f3ec0fffcc85634e43535dc09b421.tar.gz
Clean ups.
Diffstat (limited to 'script.ld')
-rw-r--r--script.ld4
1 files changed, 2 insertions, 2 deletions
diff --git a/script.ld b/script.ld
index 7a67dcf..f2e9b5d 100644
--- a/script.ld
+++ b/script.ld
@@ -4,8 +4,6 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 96K
}
-_sp = ORIGIN(ram) + LENGTH(ram);
-
SECTIONS
{
.text :
@@ -32,3 +30,5 @@ SECTIONS
_ebss = . ;
} > ram
}
+
+_sp = ORIGIN(ram) + LENGTH(ram);