-
Notifications
You must be signed in to change notification settings - Fork 362
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
Where to put panic implementations? #179
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's quite a few panic implementations now, so I think it'd be useful to list them here. I'm not sure where exactly they should be put though, because some of them are platform-independent while others aren't. Personally I think these belong in their own section.
List of crates:
panic-halt
: Halts the processor on panicspanic-abort
: Causes an abort on panics (nightly-only)panic-ramdump
: Writes the panic message into the beginning of RAM and enters an infinite loop; the message can be extracted by attaching a debugger (Cortex-M only)panic-semihosting
: Prints the panic message via semihosting to an attached debugger (Cortex-M only)panic-itm
: Prints the panic through the chip's ITM to a debugger attached to the SWO pin (Cortex-M with ITM only)The text was updated successfully, but these errors were encountered: