Registry / logging / panic-itm

panic-itm

JSON →
library0.4.2rscratesunverified

Logs panic messages using the ITM (Instrumentation Trace Macrocell) for embedded systems.

# Cargo.toml [dependencies] panic-itm = "0.4.2"
INSTALL
IMPORT
SIG · PANIC-ITM
P
panic-itm
loggingrustv0.4.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

panic_handler
use panic_itm::panic_handler;

Sets up a panic handler that logs via ITM.

use panic_itm::panic_handler; #[panic_handler] fn panic(info: &core::panic::PanickInfo) -> ! { panic_handler(info) }
Debug
Known issues
gotchaRequires hardware support for ITM (Cortex-M with SWO pin).
fix
Ensure your target microcontroller supports ITM and connect the SWO pin.
affects: >=0.4.0
Upgrade
Version history
0.4.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
28
Amazon
1
Resources
panic-itm — cargo add panic-itm · libregistry