aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/sections.lds6
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/sections.lds b/firmware/sections.lds
index f6d9a3b..3c56e9d 100644
--- a/firmware/sections.lds
+++ b/firmware/sections.lds
@@ -7,6 +7,10 @@ binary, for any purpose, commercial or non-commercial, and by any
means.
*/
+MEMORY {
+ mem : ORIGIN = 0x00000000, LENGTH = 0x00010000
+}
+
SECTIONS {
.memory : {
. = 0x000000;
@@ -14,5 +18,5 @@ SECTIONS {
*(.text);
*(*);
end = .;
- }
+ } > mem
}