From 199f4c08a845436d4c493f045a5b2fefdd254578 Mon Sep 17 00:00:00 2001 From: Peter Feerick <5500713+pfeerick@users.noreply.github.com> Date: Wed, 2 Sep 2026 21:01:52 +1000 Subject: [PATCH 1/2] feat: add toggle flags for PXX1, PXX2, GHOST, MULTI, DSMP and AFHDS3 Adds pxx1, pxx2, ghost, multi, dsmp and afhds3 as global build flags so individual radio protocol modules can be disabled at build-request time, useful for flash-constrained targets such as translation builds (#148). Co-Authored-By: Claude Sonnet 5 --- targets.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/targets.json b/targets.json index f5dd9aa..e6e9663 100644 --- a/targets.json +++ b/targets.json @@ -104,6 +104,30 @@ "power_led_blue": { "build_flag": "POWER_LED_BLUE", "values": ["YES", "NO"] + }, + "pxx1": { + "build_flag": "PXX1", + "values": ["YES", "NO"] + }, + "pxx2": { + "build_flag": "PXX2", + "values": ["YES", "NO"] + }, + "ghost": { + "build_flag": "GHOST", + "values": ["YES", "NO"] + }, + "multi": { + "build_flag": "MULTIMODULE", + "values": ["YES", "NO"] + }, + "dsmp": { + "build_flag": "DSMP", + "values": ["YES", "NO"] + }, + "afhds3": { + "build_flag": "AFHDS3", + "values": ["YES", "NO"] } }, "tags": { From ed847eb4ae2083790e0287d6c032e08826de11ee Mon Sep 17 00:00:00 2001 From: Peter Feerick <5500713+pfeerick@users.noreply.github.com> Date: Wed, 2 Sep 2026 21:06:00 +1000 Subject: [PATCH 2/2] feat: add KCX_BTAUDIO flag for TX15 and TX16S MK3 Adds an opt-in kcx_btaudio build flag (-DKCX_BTAUDIO=YES) scoped to the tx15 and tx16smk3 targets via a new tag, matching the existing bluetooth tag pattern. Available since firmware v3.0 nightly (edgetx/edgetx#6777, edgetx/edgetx#7056) (#133). Co-Authored-By: Claude Sonnet 5 --- targets.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/targets.json b/targets.json index e6e9663..ad4bc5c 100644 --- a/targets.json +++ b/targets.json @@ -169,6 +169,14 @@ "values": ["HORUS"] } } + }, + "kcx_btaudio": { + "flags": { + "kcx_btaudio": { + "build_flag": "KCX_BTAUDIO", + "values": ["YES"] + } + } } }, "targets": { @@ -427,7 +435,7 @@ "tx15": { "description": "RadioMaster TX15", "version_supported": ">= v2.12.0", - "tags": ["colorlcd", "bluetooth"] + "tags": ["colorlcd", "bluetooth", "kcx_btaudio"] }, "tx16s": { "description": "RadioMaster TX16S", @@ -436,7 +444,7 @@ "tx16smk3": { "description": "RadioMaster TX16S MK3", "version_supported": ">= v2.12.0", - "tags": ["colorlcd", "bluetooth"] + "tags": ["colorlcd", "bluetooth", "kcx_btaudio"] }, "zorro": { "description": "RadioMaster Zorro",