sandbox/blue-pill/blinky/bluepill.ld

19 lines
262 B
Plaintext
Raw Permalink Normal View History

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