Added regions to firmware/sections.lds

This commit is contained in:
Clifford Wolf 2015-10-30 15:52:40 +01:00
parent 51a9a9357a
commit 3cb910cd51
1 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,10 @@ binary, for any purpose, commercial or non-commercial, and by any
means. means.
*/ */
MEMORY {
mem : ORIGIN = 0x00000000, LENGTH = 0x00010000
}
SECTIONS { SECTIONS {
.memory : { .memory : {
. = 0x000000; . = 0x000000;
@ -14,5 +18,5 @@ SECTIONS {
*(.text); *(.text);
*(*); *(*);
end = .; end = .;
} } > mem
} }