Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diondokter/teleprobe-experiment
https://github.com/diondokter/teleprobe-experiment
Last synced: about 9 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/diondokter/teleprobe-experiment
- Owner: diondokter
- Created: 2024-03-28T09:58:07.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-05T13:37:41.000Z (10 months ago)
- Last Synced: 2025-01-18T22:10:00.167Z (6 days ago)
- Language: Rust
- Size: 23.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Teleprobe experiment
Let's see how easy teleprobe is to use.
Install with:
```sh
cargo install teleprobe --git https://github.com/embassy-rs/teleprobe.git
```
(As of writing there's no real crates.io release yet)Then run in this root project folder:
```sh
teleprobe server
```This then uses the config file. This needs to know about the probes it's connected to and how to auth any incoming
connections.
The auth can be oidc or just a string token.Then to run a test you need to set two environment variables:
```ps1
$Env:TELEPROBE_HOST = "http:/127.0.0.1:8080"
$Env:TELEPROBE_TOKEN = "hN6e2msKlqsW9smsjyF5I7xmiuPQij0O"
```Then just go to the test you want to run and run it, e.g. with
```sh
cargo run --bin timer
```If the program ends with a bkpt, then this returns exit code 0.
If the program panics, it'll print out everything and return with exit code 1.Note that the programs are linked to be run in ram. Teleprobe can handle that.
But it also handles it from flash.Note that the programs have in them:
```rust
teleprobe_meta::target!(b"nrf52840-dk");
```This lets teleprobe server deduce which target it needs to use.
This is the name of the target in the config.