#no-std #arm #cortex-m #jlink #rtt

no-std jlink_rtt

Implements the JLINK RTT protocol

2 unstable releases

Uses old Rust 2015

0.2.0 May 3, 2020
0.1.0 Sep 4, 2018

#7 in #rtt

Download history 386/week @ 2022-08-04 236/week @ 2022-08-11 45/week @ 2022-08-18 48/week @ 2022-08-25 149/week @ 2022-09-01 217/week @ 2022-09-08 69/week @ 2022-09-15 34/week @ 2022-09-22 88/week @ 2022-09-29 90/week @ 2022-10-06 68/week @ 2022-10-13 186/week @ 2022-10-20 135/week @ 2022-10-27 148/week @ 2022-11-03 226/week @ 2022-11-10 77/week @ 2022-11-17

624 downloads per month
Used in 12 crates (5 directly)

BSD-3-Clause

8KB
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

  • rtt_in_ram