Crates.io | jlink_rtt |
lib.rs | jlink_rtt |
version | 0.2.0 |
source | src |
created_at | 2018-09-04 15:01:55.296074 |
updated_at | 2020-05-03 00:28:07.595585 |
description | Implements the JLINK RTT protocol |
homepage | |
repository | https://github.com/wez/jlink_rtt |
max_upload_size | |
id | 82923 |
size | 8,257 |
This repo implements support for the Real Time Transfer (RTT) debugger extensions that are present in J-Link devices produced by SEGGER.
Basic logging:
extern crate jlink_rtt;
fn boo() {
let mut output = jlink_rtt::Output::new();
let _ = writeln!("Hello {}", 42);
}
Handling panics:
#![no_std]
extern crate panic_rtt;
fn main() {
panic!("message is logged to debugger");
}
More information on RTT can be found here: https://www.segger.com/products/debug-probes/j-link/technology/about-real-time-transfer/
The author of this repo is not affiliated with SEGGER, nor is this repo supported by them.
The implementation is derived from code produced by SEGGER Microcontroller GmbH under BSD-3-Clause license.