Crate cortex_m_log [] [src]

Logging facilities for Cortex-M processors

Destinations

The crate provides following destinations for writes:

  • Dummy - noop destination that performs no writes. Useful for release mode
  • Itm - Uses Cortex-M Itm to send output. Note that it is available only on ARMv7-M and newer
  • Semihosting - Uses Cortex-M Semihosting to send output.

All destinations implements fmt::Write to provide simple and generic interface

Printers

Each destination is provided with corresponding Printer. In addition to providing generic interface it also allows to configure Interrupt mode for all prints. See.

Modules

destination

Contains possible destination for writes

log

Integration with log

modes

Crate configuration modes

printer

Contains possible printers for Cortex-M