docs.rs failed to build systemview-target-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:
systemview-target-0.2.0
systemview-target
RTOS tracing trait implementation for SEGGER SystemView.
SEGGER SystemView can be used for non-commercial project for free and is
available here
.
Features
callbacks-os
: Check if RTOS supports tracing callbacks from SystemView.callbacks-os-time
: Check if RTOS supports timestamp callback from SystemView.callbacks-app
: Check if your application supports callback from SystemView.log
: Activates globallog
over RTT.cortex-m
: Enables Arm Cortex-M support.
Usage
If you are using an RTOS which supports rtos-trace
add the following dependencies:
# Cargo.toml
[]
= "0.1"
= { = "0.1", = ["log", "callbacks-app", "callbacks-os", "callbacks-os-time", "cortex-m"] }
= { = "0.4", = ["max_level_trace", "release_max_level_warn"] }
and add to your code
// for tracing
use systemview_target::SystemView;
rtos_trace::global_trace!{SystemView}
static LOGGER: systemview_target::SystemView = systemview_target::SystemView::new();
fn main() -> ! {
LOGGER.init();
// for logs
log::set_logger(&LOGGER).ok();
log::set_max_level(log::LevelFilter::Trace);
/*..*/
}