From 92c380dd7ad2f6fc696f25107a71c1868ccad012 Mon Sep 17 00:00:00 2001 From: Armel FAUVEAU Date: Mon, 24 Aug 2026 00:48:31 +0200 Subject: [PATCH] Rename Field preset to FieldOps --- CMakePresets.json | 14 +++++++------- README.md | 10 +++++----- compile-with-docker.sh | 10 +++++----- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/CMakePresets.json b/CMakePresets.json index 8dc7ca5a..5f53fa05 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -148,12 +148,12 @@ } }, { - "name": "Field", + "name": "FieldOps", "inherits": "Fusion", "cacheVariables": { "ENABLE_FEAT_F4HWN_RESCUE_OPS": true, "ENABLE_FEAT_F4HWN_FOXHUNT": true, - "EDITION_STRING": "Field", + "EDITION_STRING": "FieldOps", "TARGET": "f4hwn.field" } }, @@ -171,11 +171,11 @@ "name": "Max", "inherits": "Fusion", "cacheVariables": { - "ENABLE_AIRCOPY": true, - "ENABLE_FEAT_F4HWN_GAME": true, "ENABLE_FEAT_F4HWN_RESCUE_OPS": true, - "ENABLE_FEAT_F4HWN_BEAM": true, "ENABLE_FEAT_F4HWN_FOXHUNT": true, + "ENABLE_AIRCOPY": true, + "ENABLE_FEAT_F4HWN_BEAM": true, + "ENABLE_FEAT_F4HWN_GAME": true, "EDITION_STRING": "Max", "TARGET": "f4hwn.max" } @@ -195,8 +195,8 @@ "configurePreset": "Transfer" }, { - "name": "Field", - "configurePreset": "Field" + "name": "FieldOps", + "configurePreset": "FieldOps" }, { "name": "Max", diff --git a/README.md b/README.md index bff5194e..b0b9bdf1 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ for everyday use and is the base inherited by the specialized editions. It inclu Specialized presets extend Fusion for specific uses: - **Transfer** adds AirCopy and BEAM wireless channel transfer. -- **Field** adds first-responder controls, Fox Hunt and Morse Beacon support. +- **FieldOps** adds first-responder controls, Fox Hunt and Morse Beacon support. - **Max** packs the broadest practical selection of features that fits safely within the radio's Flash and RAM limits. It is not a strict superset of every other edition: features may be exchanged between releases to preserve stability and memory headroom. @@ -359,9 +359,9 @@ The default preset is **Fusion**. Available presets are: - **Custom** - **Fusion** - **Transfer** -- **Field** +- **FieldOps** - **Max** -- **All** (Fusion, Transfer, Field and Max) +- **All** (Fusion, Transfer, FieldOps and Max) Examples: @@ -369,7 +369,7 @@ Examples: ./compile-with-docker.sh ./compile-with-docker.sh Fusion ./compile-with-docker.sh Transfer -./compile-with-docker.sh Field +./compile-with-docker.sh FieldOps ./compile-with-docker.sh Max ./compile-with-docker.sh All ``` @@ -382,7 +382,7 @@ These are forwarded directly to `cmake --preset` inside the container. Examples: ```bash -./compile-with-docker.sh Field -DENABLE_VOX=OFF +./compile-with-docker.sh FieldOps -DENABLE_VOX=OFF ./compile-with-docker.sh Fusion -DENABLE_FEAT_F4HWN_GAME=ON ./compile-with-docker.sh Fusion -DSQL_TONE=600 ``` diff --git a/compile-with-docker.sh b/compile-with-docker.sh index c1cacc9e..6ae1831d 100755 --- a/compile-with-docker.sh +++ b/compile-with-docker.sh @@ -7,16 +7,16 @@ set -euo pipefail # Examples: # ./compile-with-docker.sh Fusion # ./compile-with-docker.sh Transfer -# ./compile-with-docker.sh Field +# ./compile-with-docker.sh FieldOps # ./compile-with-docker.sh Max # ./compile-with-docker.sh Fusion -DDEV=ON -# ./compile-with-docker.sh Field -DENABLE_VOX=OFF +# ./compile-with-docker.sh FieldOps -DENABLE_VOX=OFF # ./compile-with-docker.sh All # Default preset: "Fusion" # --------------------------------------------- IMAGE=uvk1-uvk5v3 -RELEASE_PRESETS=(Fusion Transfer Field Max) +RELEASE_PRESETS=(Fusion Transfer FieldOps Max) FLASH_LIMIT=$((118 * 1024)) RAM_LIMIT=$((16 * 1024)) @@ -29,9 +29,9 @@ EXTRA_ARGS=("$@") # --------------------------------------------- # Validate preset name # --------------------------------------------- -if [[ ! "$PRESET" =~ ^(Custom|Fusion|Transfer|Field|Max|All)$ ]]; then +if [[ ! "$PRESET" =~ ^(Custom|Fusion|Transfer|FieldOps|Max|All)$ ]]; then echo "❌ Unknown preset: '$PRESET'" - echo "Valid presets are: Custom, Fusion, Transfer, Field, Max, All" + echo "Valid presets are: Custom, Fusion, Transfer, FieldOps, Max, All" exit 1 fi