Crate panic_usb_boot

source ·
Expand description

Set the panicking behavior to reset into the usb boot interface

This crate contains an implementation of panic_fmt that calls the rp2040’s ROM function to reset to usb boot

§Usage

#![no_std]

extern crate panic_usb_boot;

fn main() {
    panic!("argument is ignored");
}

§Breakable symbols

With the panic handler being #[inline(never)] the symbol rust_begin_unwind will be available to place a breakpoint on to halt when a panic is happening.