Merge pull request #6618 from opentx/bsongis/x9dp_2019_companion_support

X9D+ 2019 Companion support
This commit is contained in:
Bertrand Songis
2019-08-12 16:04:40 +02:00
committed by GitHub
19 changed files with 66 additions and 32 deletions
+9
View File
@@ -6,6 +6,7 @@ import sys
import subprocess
import shutil
import filelock
from fwoptions import *
# Error codes
@@ -100,6 +101,14 @@ elif options[optcount] == "x9d+":
maxsize = 65536 * 8
board = BOARD_TARANIS
board_family = BOARD_FAMILY_ARM
elif options[optcount] == "x9d+2019":
command_options["PCB"] = "X9D+"
command_options["PCBREV"] = "2019"
command_options["MULTI_SPORT"] = "ON"
firmware_options = options_taranis_x9dp
maxsize = 65536 * 8
board = BOARD_TARANIS
board_family = BOARD_FAMILY_ARM
elif options[optcount] == "x9e":
command_options["PCB"] = "X9E"
command_options["MULTI_SPORT"] = "ON"