1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-24 16:55:15 +03:00

missing option

This commit is contained in:
Kilrah 2019-05-04 10:10:53 +02:00
parent ad8a5ba7ae
commit dc1987e0ab
3 changed files with 15 additions and 2 deletions

View file

@ -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]