docs.rs failed to build rtt-log-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
rtt-log-0.5.1
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
Either the cortex-m or the riscv platform feature must be enabled when defining this crate dependency.
// Init the logger with maximum level (Trace).
init;
// Alternatively, init the logger with specific level.
init_with_level;
// Log something.
debug!;
Features
cortex-m
Support for ARM Cortex-M targets. Disabled by default.
riscv
Support for RISC-V targets. Disabled by default.
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