Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for EK-LM3S6965 board #62

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Add entry point to the linker script of TM4C123G.
The entry point should be the vector table. Another way to set
an entry point is to pass -Wl,-evector_table to GCC. Both ways
have been tested and are working. If you do not set this you'll
get empty binary files.
  • Loading branch information
LubomirBogdanov committed Mar 31, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit da508c0ac422b122a0f55d9c419d4e45539c024d
7 changes: 7 additions & 0 deletions config/arm/chips/tm4c123g/chip.ld
Original file line number Diff line number Diff line change
@@ -23,6 +23,13 @@
* Modified by [email protected] to support heap
*/

/* The entry point is not strictly the beginning of the vector table, but
* setting it as the entry point at least forces it and all relocations present
* in it to be included. The entry point is not used by the board/loader so it
* doesn't cause execution to start at the wrong address.
*/
ENTRY(vector_table)

MEMORY
{
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 256K /* FLASH size 256KB */