Crate defmt_itm[−][src]
defmt
global logger over ITM.
To use this crate, call the enable
function before using the defmt logging macros
// src/main.rs or src/bin/my-app.rs let p = cortex_m::Peripherals::take().unwrap(); defmt_itm::enable(p.ITM); defmt::info!("Hello");
Functions
enable | Enables defmt logging over the ITM stimulus port 0. |