From cd84754465e52ed2e77b343ecfd4d019efc76b2e Mon Sep 17 00:00:00 2001 From: Jannik Beyerstedt Date: Wed, 30 Sep 2026 09:31:47 +0200 Subject: [PATCH] build: Update default configurations --- Readme.md | 3 ++- feat-permut.sh | 15 ++++++++------- run-standalone-ble.sh | 6 ++++++ run-standalone-cam.sh | 2 +- ...andalone-no_cam.sh => run-standalone-simple.sh | 0 5 files changed, 17 insertions(+), 9 deletions(-) create mode 100755 run-standalone-ble.sh rename run-standalone-no_cam.sh => run-standalone-simple.sh (100%) diff --git a/Readme.md b/Readme.md index 97d547d..968afd2 100644 --- a/Readme.md +++ b/Readme.md @@ -98,7 +98,8 @@ Additional features are available through feature flags: Officially supported feature combinations are: - `esp,spat,gnss_ubx,screen` (default features, "standalone") -- `esp,spat,gnss_ubx,screen,cam_tx` ("standalone with CAM") +- `esp,spat,gnss_ubx,screen,ble` ("standalone with BLE") +- `esp,spat,gnss_ubx,screen,cam_tx,ble` ("standalone with CAM") - `esp,spat,gnss_ubx,screen,cam_tx,cam,denm` - `esp,uart,cam,denm` ("smartphone companion with UART") - `esp,ble,cam,denm,cam_tx` ("smartphone companion with BLE") diff --git a/feat-permut.sh b/feat-permut.sh index c8d5646..9cebe55 100755 --- a/feat-permut.sh +++ b/feat-permut.sh @@ -7,15 +7,16 @@ extended=${2:-false} features_base=( - uart,cam,denm - ble,cam,denm,cam_tx - uart,ble,cam,denm - spat,gnss_ubx,screen - spat,gnss_ubx,screen,cam_tx + spat,gnss_ubx,screen # "standalone" simple + spat,gnss_ubx,screen,ble # "standalone" with BLE + spat,gnss_ubx,screen,ble,cam_tx # "standalone" with CAM + spat,gnss_ubx,screen,cam_tx,cam,denm + uart,cam,denm # "smartphone companion with UART" + ble,cam,denm,cam_tx # "smartphone companion with BLE" ) features_more=( - spat,gnss_ubx,screen,ble - spat,gnss_ubx,screen,ble,cam_tx + uart,ble,cam,denm + spat,gnss_ubx,screen,cam_tx spat,gnss_ubx,screen,cam,denm spat,gnss_ubx,screen,cam_tx,cam,denm gnss_ubx,screen,cam_tx,cam,denm diff --git a/run-standalone-ble.sh b/run-standalone-ble.sh new file mode 100755 index 0000000..6957199 --- /dev/null +++ b/run-standalone-ble.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +## Builds common config for standalone device +## -> enable SPAT/ GLOSA with GNSS and a screen + BLE + +cargo run --release -F ble diff --git a/run-standalone-cam.sh b/run-standalone-cam.sh index 9bfafbe..0bc50c2 100755 --- a/run-standalone-cam.sh +++ b/run-standalone-cam.sh @@ -3,4 +3,4 @@ ## 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 +cargo run --release -F cam_tx,ble diff --git a/run-standalone-no_cam.sh b/run-standalone-simple.sh similarity index 100% rename from run-standalone-no_cam.sh rename to run-standalone-simple.sh