Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wez/jlink_rtt
JLINK RTT debugger support for rust
https://github.com/wez/jlink_rtt
cortex-m0 rtt rust segger
Last synced: about 2 months ago
JSON representation
JLINK RTT debugger support for rust
- Host: GitHub
- URL: https://github.com/wez/jlink_rtt
- Owner: wez
- License: other
- Created: 2018-09-04T14:53:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-03T00:30:44.000Z (over 4 years ago)
- Last Synced: 2024-10-14T19:10:40.459Z (2 months ago)
- Topics: cortex-m0, rtt, rust, segger
- Language: Rust
- Size: 7.81 KB
- Stars: 18
- Watchers: 6
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
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.