fix(tools): YAML generation leaking build options between targets (#7638)

Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
Co-authored-by: Peter Feerick <5500713+pfeerick@users.noreply.github.com>
This commit is contained in:
philmoz
2026-08-12 15:18:46 +10:00
committed by GitHub
co-authored by philmoz Peter Feerick
parent fcdf92d35b
commit 5c64f0a9db
8 changed files with 20 additions and 20 deletions
+2 -3
View File
@@ -7,6 +7,7 @@ option(GHOST "Ghost TX Module" ON)
option(MODULE_SIZE_STD "Standard size TX Module" ON)
option(LUA_MIXER "Enable LUA mixer/model scripts support" ON)
option(DISK_CACHE "Enable SD card disk cache" ON)
option(STICK_DEAD_ZONE "Enable sticks dead zone" OFF)
set(FIRMWARE_QSPI YES)
set(FIRMWARE_FORMAT_UF2 YES)
@@ -28,8 +29,6 @@ set(INTERNAL_EXTERNAL_ANT YES)
set(ROTARY_ENCODER YES)
set(FUNCTION_SWITCHES_WITH_RGB YES)
#option(STICKS_DEAD_ZONE "Enable sticks dead zone" YES)
# IMU is not populated on production V12/V12p units.
set(IMU OFF)
@@ -88,7 +87,7 @@ add_definitions(-DPWR_BUTTON_${PWR_BUTTON})
add_definitions(-DPWR_BUTTON_DUAL)
add_definitions(-DI2C_HAS_BUS_4)
if(STICKS_DEAD_ZONE)
if(STICK_DEAD_ZONE)
add_definitions(-DSTICK_DEAD_ZONE)
endif()