Skip to content

Patch linker script to force keeping vectors section#127

Open
ezelioli wants to merge 1 commit intomainfrom
ez/linker
Open

Patch linker script to force keeping vectors section#127
ezelioli wants to merge 1 commit intomainfrom
ez/linker

Conversation

@ezelioli
Copy link
Copy Markdown
Contributor

Make sure that the .vectors section is not garbage collected (even if gc is enabled in linker options). This is necessary as the bootrom assumes that the exception and interrupt handler addresses are stored at the beginning of the SRAM.

Thanks @creinwar :)

Make sure that the .vectors section is not garbage collected (even if gc is
enabled in linker options). This is necessary as the bootrom assumes
that the exception and interrupt handler addresses are stored at the
beginning of the SRAM.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant