Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ENTRY(Reset_Handler)
MEMORY
{
flash : org = 0x00000d10, len = 128k - 0xd10
ram : org = 0x1FFFE000, len = 16k
}
__ram_start__ = ORIGIN(ram);
__ram_size__ = LENGTH(ram);
__ram_end__ = __ram_start__ + __ram_size__;
SECTIONS
{
. = 0;
_text = .;
.isr : ALIGN(4) SUBALIGN(4)
{
KEEP(*(.vectors))
} > flash
constructors : ALIGN(4) SUBALIGN(4)
{
PROVIDE(__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
KEEP(*(.init_array))
PROVIDE(__init_array_end = .);
} > flash
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.