3 releases (breaking)

Uses old Rust 2015

0.3.0 May 3, 2020
0.2.0 Jan 4, 2019
0.1.0 Sep 4, 2018

#62 in Date and time

Download history 194/week @ 2021-02-25 43/week @ 2021-03-04 91/week @ 2021-03-11 224/week @ 2021-03-18 351/week @ 2021-03-25 176/week @ 2021-04-01 348/week @ 2021-04-08 169/week @ 2021-04-15 323/week @ 2021-04-22 79/week @ 2021-04-29 177/week @ 2021-05-06 503/week @ 2021-05-13 159/week @ 2021-05-20 390/week @ 2021-05-27 470/week @ 2021-06-03 938/week @ 2021-06-10

1,053 downloads per month
Used in less than 11 crates

BSD-3-Clause

10KB
169 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.

Dependencies

~565KB
~11K SLoC