0
0
Fork 0

Add scripts to run/ flash the supported feature-sets

This commit is contained in:
Jannik Beyerstedt 2026-07-31 12:13:54 +02:00
commit 71161d1d99
4 changed files with 21 additions and 3 deletions

View file

@ -89,10 +89,10 @@ Additional features are available through feature flags:
- `cam_tx`: Enable CAM generation and transmission (needs time and position source)
Officially supported feature combinations are:
- `esp,spat,gnss,screen` (default features)
- `esp,spat,gnss,screen,cam_tx`
- `esp,spat,gnss,screen` (default features, "standalone")
- `esp,spat,gnss,screen,cam_tx` ("standalone with CAM")
- `esp,spat,gnss,screen,cam_tx,cam,denm`
- `esp,uart,cam,denm`
- `esp,uart,cam,denm` ("smartphone companion")
Connect your ESP32-C5 and run:

6
run-smartphone.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
## Builds common config for smartphone connected device
## -> only receive CAM and DENMs via UART (TODO: and BLE)
cargo run --release --no-default-features -F esp,cam,denm,uart

6
run-standalone-cam.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
## Builds common config for standalone device with automatic CAM transmission
## -> enable SPAT/ GLOSA with GNSS and a screen + CAM transmission
cargo run --release -F cam_tx

6
run-standalone-no_cam.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
## Builds common config for standalone device
## -> enable SPAT/ GLOSA with GNSS and a screen
cargo run --release