19 lines
255 B
Plaintext
19 lines
255 B
Plaintext
|
MEMORY
|
||
|
{
|
||
|
flash (rx) : ORIGIN = 0x08000000, LENGTH = 64K
|
||
|
sram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
|
||
|
}
|
||
|
|
||
|
EXTERN(vectors);
|
||
|
ENTRY(_start);
|
||
|
|
||
|
SECTIONS
|
||
|
{
|
||
|
.text : {
|
||
|
*(.vectors*)
|
||
|
*(.text*)
|
||
|
. = ALIGN(4);
|
||
|
} > flash
|
||
|
.bss : { *(.bss*) } > sram
|
||
|
}
|