A daemon to retrieve RTT logs using probe-rs.
This is designed to be used with NixOS.
- Add this repository to your flake inputs:
{
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
tonixpkgs.overlays
. - Import the
rtt-daemon.nixosModules.default
module. - Configure:
{
services.rtt-daemon = {
enable = true;
probeVid = "1209";
probePid = "4853";
probeSerial = "130018001650563641333620";
chip = "STM32WLE5JCIx";
elf = "/path/to/my/binary";
};
}