2018-03-07 16:06:25 +00:00
|
|
|
MEMORY
|
|
|
|
{
|
2018-03-13 05:16:18 +00:00
|
|
|
flash (rx) : ORIGIN = 0x08000000, LENGTH = 64K
|
2018-03-08 03:50:01 +00:00
|
|
|
sram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
|
2018-03-07 16:06:25 +00:00
|
|
|
}
|
|
|
|
|
2018-03-13 05:16:18 +00:00
|
|
|
EXTERN(vectors);
|
|
|
|
ENTRY(reset_handler);
|
|
|
|
|
2018-03-07 16:06:25 +00:00
|
|
|
SECTIONS
|
|
|
|
{
|
2018-03-13 05:16:18 +00:00
|
|
|
.text : {
|
|
|
|
*(.vectors*)
|
|
|
|
*(.text*)
|
|
|
|
. = ALIGN(4);
|
|
|
|
} > flash
|
|
|
|
.bss : { *(.bss*) } > sram
|
2018-03-07 16:06:25 +00:00
|
|
|
}
|