missing option
This commit is contained in:
@@ -8,6 +8,7 @@ option(TRACE_FATFS "Traces FatFS enabled" OFF)
|
|||||||
option(TRACE_AUDIO "Traces audio enabled" OFF)
|
option(TRACE_AUDIO "Traces audio enabled" OFF)
|
||||||
option(DEBUG_TRACE_BUFFER "Debug Trace Screen" 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(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(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(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)
|
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)
|
set(SRC ${SRC} pulses/multi.cpp telemetry/spektrum.cpp telemetry/flysky_ibus.cpp telemetry/multi.cpp)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(MULTI_SPORT)
|
||||||
|
add_definitions(-DMULTI_SPORT)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(CROSSFIRE)
|
if(CROSSFIRE)
|
||||||
add_definitions(-DCROSSFIRE)
|
add_definitions(-DCROSSFIRE)
|
||||||
set(PULSES_SRC
|
set(PULSES_SRC
|
||||||
|
|||||||
+1
Submodule radio/src/thirdparty/GCS_MAVLink/include_v1.0 added at 21083c3af5
@@ -60,42 +60,49 @@ elif options[optcount] == "ar9x":
|
|||||||
board_family = BOARD_FAMILY_ARM
|
board_family = BOARD_FAMILY_ARM
|
||||||
elif options[optcount] == "x7":
|
elif options[optcount] == "x7":
|
||||||
command_options["PCB"] = "X7"
|
command_options["PCB"] = "X7"
|
||||||
|
command_options["MULTI_SPORT"] = "ON"
|
||||||
firmware_options = options_taranisplus
|
firmware_options = options_taranisplus
|
||||||
maxsize = 65536 * 8
|
maxsize = 65536 * 8
|
||||||
board = BOARD_TARANIS
|
board = BOARD_TARANIS
|
||||||
board_family = BOARD_FAMILY_ARM
|
board_family = BOARD_FAMILY_ARM
|
||||||
elif options[optcount] == "xlite":
|
elif options[optcount] == "xlite":
|
||||||
command_options["PCB"] = "XLITE"
|
command_options["PCB"] = "XLITE"
|
||||||
|
command_options["MULTI_SPORT"] = "ON"
|
||||||
firmware_options = options_xlite
|
firmware_options = options_xlite
|
||||||
maxsize = 65536 * 8
|
maxsize = 65536 * 8
|
||||||
board = BOARD_TARANIS
|
board = BOARD_TARANIS
|
||||||
board_family = BOARD_FAMILY_ARM
|
board_family = BOARD_FAMILY_ARM
|
||||||
elif options[optcount] == "x9d":
|
elif options[optcount] == "x9d":
|
||||||
command_options["PCB"] = "X9D"
|
command_options["PCB"] = "X9D"
|
||||||
|
command_options["MULTI_SPORT"] = "ON"
|
||||||
firmware_options = options_taranis
|
firmware_options = options_taranis
|
||||||
maxsize = 65536 * 8
|
maxsize = 65536 * 8
|
||||||
board = BOARD_TARANIS
|
board = BOARD_TARANIS
|
||||||
board_family = BOARD_FAMILY_ARM
|
board_family = BOARD_FAMILY_ARM
|
||||||
elif options[optcount] == "x9d+":
|
elif options[optcount] == "x9d+":
|
||||||
command_options["PCB"] = "X9D+"
|
command_options["PCB"] = "X9D+"
|
||||||
|
command_options["MULTI_SPORT"] = "ON"
|
||||||
firmware_options = options_taranisplus
|
firmware_options = options_taranisplus
|
||||||
maxsize = 65536 * 8
|
maxsize = 65536 * 8
|
||||||
board = BOARD_TARANIS
|
board = BOARD_TARANIS
|
||||||
board_family = BOARD_FAMILY_ARM
|
board_family = BOARD_FAMILY_ARM
|
||||||
elif options[optcount] == "x9e":
|
elif options[optcount] == "x9e":
|
||||||
command_options["PCB"] = "X9E"
|
command_options["PCB"] = "X9E"
|
||||||
|
command_options["MULTI_SPORT"] = "ON"
|
||||||
firmware_options = options_taranisx9e
|
firmware_options = options_taranisx9e
|
||||||
maxsize = 65536 * 8
|
maxsize = 65536 * 8
|
||||||
board = BOARD_TARANIS
|
board = BOARD_TARANIS
|
||||||
board_family = BOARD_FAMILY_ARM
|
board_family = BOARD_FAMILY_ARM
|
||||||
elif options[optcount] == "x10":
|
elif options[optcount] == "x10":
|
||||||
command_options["PCB"] = "X10"
|
command_options["PCB"] = "X10"
|
||||||
|
command_options["MULTI_SPORT"] = "ON"
|
||||||
firmware_options = options_x10
|
firmware_options = options_x10
|
||||||
maxsize = 2 * 1024 * 1024
|
maxsize = 2 * 1024 * 1024
|
||||||
board = BOARD_HORUS
|
board = BOARD_HORUS
|
||||||
board_family = BOARD_FAMILY_ARM
|
board_family = BOARD_FAMILY_ARM
|
||||||
elif options[optcount] == "x12s":
|
elif options[optcount] == "x12s":
|
||||||
command_options["PCB"] = "X12S"
|
command_options["PCB"] = "X12S"
|
||||||
|
command_options["MULTI_SPORT"] = "ON"
|
||||||
firmware_options = options_x12s
|
firmware_options = options_x12s
|
||||||
maxsize = 2 * 1024 * 1024
|
maxsize = 2 * 1024 * 1024
|
||||||
board = BOARD_HORUS
|
board = BOARD_HORUS
|
||||||
@@ -129,8 +136,8 @@ for opt, value in firmware_options.items():
|
|||||||
break
|
break
|
||||||
|
|
||||||
if found:
|
if found:
|
||||||
optvalue = value[1];
|
optvalue = value[1]
|
||||||
filename += "-" + opt;
|
filename += "-" + opt
|
||||||
else:
|
else:
|
||||||
optvalue = value[2]
|
optvalue = value[2]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user