https://github.com/newam/rtt-daemon
A daemon to retrieve RTT logs
https://github.com/newam/rtt-daemon
probe-rs rtt rust
Last synced: 5 months 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 (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-25T02:12:00.000Z (over 1 year ago)
- Last Synced: 2025-10-19T17:50:21.723Z (9 months ago)
- Topics: probe-rs, rtt, rust
- Language: Nix
- Homepage:
- Size: 403 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rtt-daemon
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/