init
This commit is contained in:
commit
d1ac414c5e
34 changed files with 64721 additions and 0 deletions
29
runtime/linker.ld
Normal file
29
runtime/linker.ld
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
MEMORY {
|
||||
ROM : ORIGIN = 0x000000, LENGTH = 0x020000
|
||||
RAM : ORIGIN = 0x100000, LENGTH = 0x100000
|
||||
}
|
||||
|
||||
SECTIONS {
|
||||
VECTORS : {
|
||||
*(VECTORS);
|
||||
} > ROM;
|
||||
|
||||
CODE : {
|
||||
*(CODE);
|
||||
} > ROM;
|
||||
|
||||
DATA : {
|
||||
_DATA_START = .;
|
||||
*(DATA);
|
||||
. = ALIGN(4);
|
||||
_DATA_END = .;
|
||||
} > RAM AT>ROM;
|
||||
_DATA_LOAD = LOADADDR(DATA);
|
||||
|
||||
BSS (NOLOAD) : {
|
||||
_BSS_START = .;
|
||||
*(BSS);
|
||||
. = ALIGN(4);
|
||||
_BSS_END = .;
|
||||
} > RAM;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue