mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-26 09:45:16 +03:00
missing option
This commit is contained in:
parent
ad8a5ba7ae
commit
dc1987e0ab
3 changed files with 15 additions and 2 deletions
|
@ -8,6 +8,7 @@ option(TRACE_FATFS "Traces FatFS enabled" OFF)
|
|||
option(TRACE_AUDIO "Traces audio enabled" OFF)
|
||||
option(DEBUG_TRACE_BUFFER "Debug Trace Screen" OFF)
|
||||
option(MULTIMODULE "DIY Multiprotocol TX Module (https://github.com/pascallanger/DIY-Multiprotocol-TX-Module)" OFF)
|
||||
option(MULTI_SPORT "SPORT telemetry support" OFF)
|
||||
option(CROSSFIRE "Crossfire TX Module" OFF)
|
||||
option(SUPPORT_D16_EU_ONLY "XJT module only supports D16-EU and LR12-EU" OFF) # TODO rename to XJT_EU_ONLY
|
||||
option(DEBUG_INTERRUPTS "Count interrupts" OFF)
|
||||
|
@ -112,6 +113,10 @@ if(MULTIMODULE)
|
|||
set(SRC ${SRC} pulses/multi.cpp telemetry/spektrum.cpp telemetry/flysky_ibus.cpp telemetry/multi.cpp)
|
||||
endif()
|
||||
|
||||
if(MULTI_SPORT)
|
||||
add_definitions(-DMULTI_SPORT)
|
||||
endif()
|
||||
|
||||
if(CROSSFIRE)
|
||||
add_definitions(-DCROSSFIRE)
|
||||
set(PULSES_SRC
|
||||
|
|
1
radio/src/thirdparty/GCS_MAVLink/include_v1.0
vendored
Submodule
1
radio/src/thirdparty/GCS_MAVLink/include_v1.0
vendored
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 21083c3af5f386a27d59a3ef6bff01a70991c3cb
|
|
@ -60,42 +60,49 @@ elif options[optcount] == "ar9x":
|
|||
board_family = BOARD_FAMILY_ARM
|
||||
elif options[optcount] == "x7":
|
||||
command_options["PCB"] = "X7"
|
||||
command_options["MULTI_SPORT"] = "ON"
|
||||
firmware_options = options_taranisplus
|
||||
maxsize = 65536 * 8
|
||||
board = BOARD_TARANIS
|
||||
board_family = BOARD_FAMILY_ARM
|
||||
elif options[optcount] == "xlite":
|
||||
command_options["PCB"] = "XLITE"
|
||||
command_options["MULTI_SPORT"] = "ON"
|
||||
firmware_options = options_xlite
|
||||
maxsize = 65536 * 8
|
||||
board = BOARD_TARANIS
|
||||
board_family = BOARD_FAMILY_ARM
|
||||
elif options[optcount] == "x9d":
|
||||
command_options["PCB"] = "X9D"
|
||||
command_options["MULTI_SPORT"] = "ON"
|
||||
firmware_options = options_taranis
|
||||
maxsize = 65536 * 8
|
||||
board = BOARD_TARANIS
|
||||
board_family = BOARD_FAMILY_ARM
|
||||
elif options[optcount] == "x9d+":
|
||||
command_options["PCB"] = "X9D+"
|
||||
command_options["MULTI_SPORT"] = "ON"
|
||||
firmware_options = options_taranisplus
|
||||
maxsize = 65536 * 8
|
||||
board = BOARD_TARANIS
|
||||
board_family = BOARD_FAMILY_ARM
|
||||
elif options[optcount] == "x9e":
|
||||
command_options["PCB"] = "X9E"
|
||||
command_options["MULTI_SPORT"] = "ON"
|
||||
firmware_options = options_taranisx9e
|
||||
maxsize = 65536 * 8
|
||||
board = BOARD_TARANIS
|
||||
board_family = BOARD_FAMILY_ARM
|
||||
elif options[optcount] == "x10":
|
||||
command_options["PCB"] = "X10"
|
||||
command_options["MULTI_SPORT"] = "ON"
|
||||
firmware_options = options_x10
|
||||
maxsize = 2 * 1024 * 1024
|
||||
board = BOARD_HORUS
|
||||
board_family = BOARD_FAMILY_ARM
|
||||
elif options[optcount] == "x12s":
|
||||
command_options["PCB"] = "X12S"
|
||||
command_options["MULTI_SPORT"] = "ON"
|
||||
firmware_options = options_x12s
|
||||
maxsize = 2 * 1024 * 1024
|
||||
board = BOARD_HORUS
|
||||
|
@ -129,8 +136,8 @@ for opt, value in firmware_options.items():
|
|||
break
|
||||
|
||||
if found:
|
||||
optvalue = value[1];
|
||||
filename += "-" + opt;
|
||||
optvalue = value[1]
|
||||
filename += "-" + opt
|
||||
else:
|
||||
optvalue = value[2]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue