Created
July 31, 2015 16:50
-
-
Save BobBurns/a68f178731c708e8cbb5 to your computer and use it in GitHub Desktop.
linker script to go with blinky.s
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
/* linker script for STM32 Cortex M3 c/o pygmy.utoh.org */ | |
SECTIONS | |
{ | |
/* interupt vectors start at zero */ | |
. = 0x0; /* start of flash */ | |
.text : { *(text) } | |
/* constant data follows code but still in flash */ | |
.data : | |
{ | |
*(.data) | |
*(.rom) | |
} | |
/* internal RAM starts at 0x20000000 */ | |
. = 0x20000000; | |
.ram : { *(.ram) } | |
.bss : | |
{ | |
*(.bss) | |
*(.ram) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment