sandbox/blue-pill/draugr/stm32f103.ld

19 lines
262 B
Plaintext
Raw Normal View History

2018-03-07 16:06:25 +00:00
MEMORY
{
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
}
EXTERN(vectors);
ENTRY(reset_handler);
2018-03-07 16:06:25 +00:00
SECTIONS
{
.text : {
*(.vectors*)
*(.text*)
. = ALIGN(4);
} > flash
.bss : { *(.bss*) } > sram
2018-03-07 16:06:25 +00:00
}