panic-probe: remove HardFault override
//! non-zero status code, indicating failure. This building block can be used to run on-device
//! tests.
//!
-//! This crate also overrides the Cortex-M HardFault handler: Any HardFault will also cause
-//! `probe-run` to exit with an error code.
-//!
//! # Panic Messages
//!
//! By default, `panic-probe` *ignores* the panic message. You can enable one of the following
@@ -77,14 +74,6 @@ mod imp {
asm::udf();
}
-
- #[exception]
- fn HardFault(_: &ExceptionFrame) -> ! {
- loop {
- // Make `probe-run` print the backtrace and exit.
- asm::bkpt();
- }
- }
}
#[cfg(feature = "print-rtt")]
