aboutsummaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-10-30 15:52:40 +0100
committerClifford Wolf <clifford@clifford.at>2015-10-30 15:52:40 +0100
commit3cb910cd516aee26ebeabfad32123d05cbf84ca8 (patch)
treeb43ce7af7859570e37f743c97e3c1506ce36737b /firmware
parent51a9a9357af2f58b96f53bd28be6ea1b6bf02ae4 (diff)
downloadpicorv32-3cb910cd516aee26ebeabfad32123d05cbf84ca8.tar.gz
picorv32-3cb910cd516aee26ebeabfad32123d05cbf84ca8.zip
Added regions to firmware/sections.lds
Diffstat (limited to 'firmware')
-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
}