Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/