2 unstable releases

Uses old Rust 2015

0.2.0 May 3, 2020
0.1.0 Sep 4, 2018

#3 in #jlink

Download history 33/week @ 2024-07-20 48/week @ 2024-07-27 49/week @ 2024-08-03 89/week @ 2024-08-10 400/week @ 2024-08-17 132/week @ 2024-08-24 269/week @ 2024-08-31 329/week @ 2024-09-07 59/week @ 2024-09-14 215/week @ 2024-09-21 170/week @ 2024-09-28 37/week @ 2024-10-05 303/week @ 2024-10-12 371/week @ 2024-10-19 181/week @ 2024-10-26 104/week @ 2024-11-02

961 downloads per month
Used in 13 crates (6 directly)

BSD-3-Clause

9KB
151 lines

SEGGER RTT Support for Rust

This repo implements support for the Real Time Transfer (RTT) debugger extensions that are present in J-Link devices produced by SEGGER.

Using it

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 info

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.

License

The implementation is derived from code produced by SEGGER Microcontroller GmbH under BSD-3-Clause license.

No runtime deps

Features