mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 16:55:20 +03:00
missing option
This commit is contained in:
parent
ad8a5ba7ae
commit
dc1987e0ab
3 changed files with 15 additions and 2 deletions
|
@ -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