rtt-log
This Rust crate provides a log facade implementation for the Segger RTT protocol supported by the J-Link, ST-Link and other debug probes. It currently supports ARM Cortex-M and RISC-V targets via the rtt-target crate.
Usage
// Init the logger with maximum level (Trace).
init;
// Alternatively, init the logger with specific level.
init_with_level;
// Log something.
debug!;
Use a tool like probe-run on the host to print the messages.
License
Published under the MIT license.
Author: Oliver Rockstedt info@sourcebox.de