sandbox/blue-pill/asm-blink/bluepill.ld

19 lines
255 B
Plaintext
Raw Permalink Normal View History

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
}