Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/newam/rtt-daemon
A daemon to retrieve RTT logs
https://github.com/newam/rtt-daemon
probe-rs rtt rust
Last synced: 17 days ago
JSON representation
A daemon to retrieve RTT logs
- Host: GitHub
- URL: https://github.com/newam/rtt-daemon
- Owner: newAM
- License: mit
- Created: 2021-12-12T16:33:05.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-17T23:53:58.000Z (18 days ago)
- Last Synced: 2024-10-18T05:18:57.727Z (18 days ago)
- Topics: probe-rs, rtt, rust
- Language: Nix
- Homepage:
- Size: 357 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rtt-daemon
[![CI](https://github.com/newAM/rtt-daemon/workflows/CI/badge.svg)](https://github.com/newAM/rtt-daemon/actions?query=branch%3Amain)
A daemon to retrieve RTT logs using [probe-rs].
## Usage
This is designed to be used with [NixOS].
* Add this repository to your flake inputs:
```nix
{
inputs = {
unstable.url = "github:nixos/nixpkgs/nixos-unstable";rtt-daemon = {
url = "github:newam/rtt-daemon/main";
inputs.nixpkgs.follows = "unstable";
};
};
}
```* Add `rtt-daemon.overlays.default` to `nixpkgs.overlays`.
* Import the `rtt-daemon.nixosModules.default` module.
* Configure:```nix
{
services.rtt-daemon = {
enable = true;
probeVid = "1209";
probePid = "4853";
probeSerial = "130018001650563641333620";
chip = "STM32WLE5JCIx";
elf = "/path/to/my/binary";
};
}
```[probe-rs]: https://probe.rs/
[NixOS]: https://nixos.org/