-
-
Notifications
You must be signed in to change notification settings - Fork 77
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-probe should do bkpt not udf? #809
Labels
type: enhancement
Enhancement or feature request
Comments
Example when used with probe-rs and a custom hard-fault handler that does a semihosting exit:
|
|
@Dirbaio Did they change that, or did I somehow have a broken probe-rs setup? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
panic-probe currently executes a "udf" instruction to trigger a hard fault. probe-rs doesn't catch hard faults, and so if the hard fault handler is empty loop, probe-rs just hangs. You can set up a custom hard fault handler to do a bkpt instruction, but maybe panic-probe should just do that directly and save a trip via the hard fault mechanism.
The text was updated successfully, but these errors were encountered: