2018-03-07 16:06:25 +00:00
|
|
|
MEMORY
|
|
|
|
{
|
2018-03-13 05:48:05 +00:00
|
|
|
flash (rx) : ORIGIN = 0x08000000, LENGTH = 128K
|
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 : {
|
2018-03-13 05:48:05 +00:00
|
|
|
*(.vectors)
|
2018-03-13 05:16:18 +00:00
|
|
|
*(.text*)
|
|
|
|
. = ALIGN(4);
|
|
|
|
} > flash
|
2018-03-07 16:06:25 +00:00
|
|
|
}
|