Created
September 26, 2015 23:11
-
-
Save utzig/623267a7b21c3b0b153e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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