[][src]Macro drone_cortex_m::eprint

macro_rules! eprint {
    ($str:expr) => { ... };
    ($($arg:tt)*) => { ... };
}

Prints to the ITM port #1, if a debug probe is connected.

Equivalent to the print! macro, except that output goes to the port #1 instead of #0. See print! for example usage.

Use eprint! only for error and progress messages. Use print! instead for the primary output of your program.

Examples

eprint!("Error: Could not complete task");