mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Rename Field preset to FieldOps
This commit is contained in:
1 parent
e1dfbde590
commit
92c380dd7a
3 files changed
+17
-17
No files matched your search
+7
-7
@@ -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",
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user