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

Empty default exception handler #15

Open
robamu opened this issue Mar 10, 2025 · 2 comments
Open

Empty default exception handler #15

robamu opened this issue Mar 10, 2025 · 2 comments

Comments

@robamu
Copy link
Contributor

robamu commented Mar 10, 2025

The current default handlers use semihosting.
What do you think about making them as simple as possible by just doing a nop loop?
Semihosting support might not work for all use-cases. For example, I am not fully sure whether I can make it
work for my Zynq7000 based board.

@jonathanpallant
Copy link
Contributor

That's a fair point - semihosting isn't a good default for everyone. They should be empty by default, but we should have examples of how to write better ones.

@jonathanpallant
Copy link
Contributor

I think we also want a default Rust handler for all exceptions, rather than just asm ones. I think we discussed this somewhere ... Matrix?

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

2 participants