Add scripts to run/ flash the supported feature-sets
This commit is contained in:
parent
2c50668e7e
commit
71161d1d99
4 changed files with 21 additions and 3 deletions
|
|
@ -89,10 +89,10 @@ Additional features are available through feature flags:
|
||||||
- `cam_tx`: Enable CAM generation and transmission (needs time and position source)
|
- `cam_tx`: Enable CAM generation and transmission (needs time and position source)
|
||||||
|
|
||||||
Officially supported feature combinations are:
|
Officially supported feature combinations are:
|
||||||
- `esp,spat,gnss,screen` (default features)
|
- `esp,spat,gnss,screen` (default features, "standalone")
|
||||||
- `esp,spat,gnss,screen,cam_tx`
|
- `esp,spat,gnss,screen,cam_tx` ("standalone with CAM")
|
||||||
- `esp,spat,gnss,screen,cam_tx,cam,denm`
|
- `esp,spat,gnss,screen,cam_tx,cam,denm`
|
||||||
- `esp,uart,cam,denm`
|
- `esp,uart,cam,denm` ("smartphone companion")
|
||||||
|
|
||||||
Connect your ESP32-C5 and run:
|
Connect your ESP32-C5 and run:
|
||||||
|
|
||||||
|
|
|
||||||
6
run-smartphone.sh
Executable file
6
run-smartphone.sh
Executable 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
6
run-standalone-cam.sh
Executable 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
6
run-standalone-no_cam.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
## Builds common config for standalone device
|
||||||
|
## -> enable SPAT/ GLOSA with GNSS and a screen
|
||||||
|
|
||||||
|
cargo run --release
|
||||||
Loading…
Add table
Add a link
Reference in a new issue