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

Override hard fault handlers #4

Open
jamesadevine opened this issue Dec 14, 2016 · 0 comments
Open

Override hard fault handlers #4

jamesadevine opened this issue Dec 14, 2016 · 0 comments

Comments

@jamesadevine
Copy link
Collaborator

jamesadevine commented Dec 14, 2016

The default handlers are pretty useless, and mostly just spin wait.

These are defined in the device startup script (for mbed):

https://github.com/lancaster-university/mbed-classic/blob/genuino/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_GENUINO_G18A/TOOLCHAIN_GCC_ARM/startup_samd21.c#L142

Should be pretty trivial to override as they are weak symbols.

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

No branches or pull requests

1 participant