2 releases
0.1.0-alpha.1 | Jul 1, 2021 |
---|
#1285 in Procedural macros
56KB
1K
SLoC
cargo-rtic-scope
will be a single-click solution for tracing RTIC applications running on embedded ARM Cortex-M targets. If you clone this repository and run cargo install --path . && cd examples && cargo rtic-scope trace --bin blinky --dev /dev/ttyUSB3
it will
- attach to your target;
- configure
/dev/ttyUSB3
for trace reception; - build blinky;
- generate resolve maps for exceptions and interrupt numbers from blinky's source code;
- flash blinky to target;
- reset the target;
- deserialize the trace from
/dev/ttyUSB3
into human-readable types and serialize these types to JSON and save to disk undertarget/rtic-traces
.
When done, cargo-rtic-scope
will also stream the resolved trace to a
frontend. For example, a graphical web application.
License
For non-commercial purposes, the code in this repository is distributed under the terms of both the MIT license and the Apache License (Version 2.0). See LICENSE-APACHE and LICENSE-MIT for details.
This project is maintained in cooperation with @GrepitAB and Luleå Technical University. For commercial support and alternative licensing, inquire via contact@grepit.se.
Dependencies
~30–43MB
~789K SLoC