Skip to content

Fix KL05Z GCC_ARM linker script #814

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

Merged
merged 1 commit into from
Dec 24, 2014
Merged

Fix KL05Z GCC_ARM linker script #814

merged 1 commit into from
Dec 24, 2014

Conversation

adamgreen
Copy link
Contributor

Issue originally reported on mbed site here:
https://developer.mbed.org/questions/5695/FRDM-KL05z-hardfault-when-compiled-with-/

The RAM base address was incorrectly set to the beginning of RAM
instead of at a 0xC0 byte offset to reserve room for the interrupt
vectors. Without this fix, the global variables and the interrupt
vectors were occupying the same space in RAM once the user enabled the
timer interrupt.

The user who originally reported the issue on the mbed site has tested
this fix and verified that it corrected the hard fault issue that they
were encountering.

Issue originally reported on mbed site here:
https://developer.mbed.org/questions/5695/FRDM-KL05z-hardfault-when-compiled-with-/

The RAM base address was incorrectly set to the beginning of RAM
instead of at a 0xC0 byte offset to reserve room for the interrupt
vectors. Without this fix, the global variables and the interrupt
vectors were occupying the same space in RAM once the user enabled the
timer interrupt.

The user who originally reported the issue on the mbed site has tested
this fix and verified that it corrected the hard fault issue that they
were encountering.
@0xc0170
Copy link
Contributor

0xc0170 commented Dec 24, 2014

Thanks, this was probably changed when targets were moved around.

0xc0170 added a commit that referenced this pull request Dec 24, 2014
Targets: Fix KL05Z GCC_ARM linker script
@0xc0170 0xc0170 merged commit ab46ea6 into ARMmbed:master Dec 24, 2014
@adamgreen adamgreen deleted the KL05Z_GCC_LinkerScript_Fix branch December 24, 2014 17:57
@adamgreen
Copy link
Contributor Author

Thanks for merging.

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.

2 participants