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 a small fix to default ISR to handle SPSEL #698

Merged
merged 1 commit into from Apr 10, 2023

Conversation

ckahlo
Copy link
Contributor

@ckahlo ckahlo commented Apr 8, 2023

The unused_interrupt_vector() only interpreted msp (main stack pointer), leading to errors if user code chose to use psp (process stack pointer). The fix checks the appropriate bit in the link register and loads the correct stack pointer. Inspired by: https://developer.arm.com/documentation/ka004005/latest

The unused_interrupt_vector() only interpreted msp (main stack pointer), leading to errors if user code chose to use psp (process stack pointer). The fix checks the appropriate bit in the link register and loads the correct stack pointer. Inspired by: https://developer.arm.com/documentation/ka004005/latest
@PaulStoffregen PaulStoffregen merged commit 1cf4bb4 into PaulStoffregen:master Apr 10, 2023
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.

None yet

2 participants