blue-pill: copying linker script over
This commit is contained in:
@@ -1,11 +1,18 @@
|
||||
MEMORY
|
||||
{
|
||||
flash (rx) : ORIGIN = 0x00000000, LENGTH = 128K
|
||||
flash (rx) : ORIGIN = 0x08000000, LENGTH = 64K
|
||||
sram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
|
||||
}
|
||||
|
||||
EXTERN(vectors);
|
||||
ENTRY(reset_handler);
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
.text : { *(.text*) } > flash
|
||||
.bss : { *(.bss*) } > sram
|
||||
.text : {
|
||||
*(.vectors*)
|
||||
*(.text*)
|
||||
. = ALIGN(4);
|
||||
} > flash
|
||||
.bss : { *(.bss*) } > sram
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user