-
Notifications
You must be signed in to change notification settings - Fork 198
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
Panic when DefaultHandler gets invoked #1005
Conversation
What's the difference between |
Yeah |
I think I got it wrong, I think |
It's even a bit more complicated because |
But I think we could only end up there from a CPU level interrupt on Xtensa for something > level 3 ... which would be a problem on its own. For RISC-V we should always end up in So maybe it's not that bad |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually just used this PR to find out which interrupt was putting me in the DefaultHandler :D. LGTM! Just needs a rebase I think :)
1666922
to
643d902
Compare
The
DefaultHandler
can never do something much more useful than panickingFixes #1001
Easy check: Use the
gpio_interrupt.rs
example and remove the interrupt handler. Pressing the boot button will now panic instead of silently do nothing anymore