Cosmetics

This commit is contained in:
Bertrand Songis
2016-03-24 21:43:22 +01:00
parent d5931d2129
commit f979fd7289
2 changed files with 354 additions and 351 deletions
+11 -11
View File
@@ -44,41 +44,41 @@ elif options[optcount] == "9x128":
command_options["PCB"] = "9X128" command_options["PCB"] = "9X128"
command_options["FRSKY_STICKS"] = "YES" command_options["FRSKY_STICKS"] = "YES"
firmware_options = options_9x128 firmware_options = options_9x128
maxsize = 65536*2 maxsize = 65536 * 2
board = BOARD_9X board = BOARD_9X
board_family = BOARD_FAMILY_AVR board_family = BOARD_FAMILY_AVR
elif options[optcount] == "9xr128": elif options[optcount] == "9xr128":
command_options["PCB"] = "9XR128" command_options["PCB"] = "9XR128"
command_options["FRSKY_STICKS"] = "YES" command_options["FRSKY_STICKS"] = "YES"
firmware_options = options_9x128 firmware_options = options_9x128
maxsize = 65536*2 maxsize = 65536 * 2
board = BOARD_9X board = BOARD_9X
board_family = BOARD_FAMILY_AVR board_family = BOARD_FAMILY_AVR
elif options[optcount] == "gruvin9x": elif options[optcount] == "gruvin9x":
command_options["PCB"] = "GRUVIN9X" command_options["PCB"] = "GRUVIN9X"
command_options["EXT"] = "FRSKY" command_options["EXT"] = "FRSKY"
firmware_options = options_gruvin9x firmware_options = options_gruvin9x
maxsize = 65536*4 maxsize = 65536 * 4
board = BOARD_GRUVIN9X board = BOARD_GRUVIN9X
board_family = BOARD_FAMILY_AVR board_family = BOARD_FAMILY_AVR
elif options[optcount] == "mega2560": elif options[optcount] == "mega2560":
command_options["PCB"] = "MEGA2560" command_options["PCB"] = "MEGA2560"
command_options["EXT"] = "FRSKY" command_options["EXT"] = "FRSKY"
firmware_options = options_mega2560 firmware_options = options_mega2560
maxsize = 65536*4 maxsize = 65536 * 4
board = BOARD_GRUVIN9X board = BOARD_GRUVIN9X
board_family = BOARD_FAMILY_AVR board_family = BOARD_FAMILY_AVR
elif options[optcount] == "sky9x": elif options[optcount] == "sky9x":
command_options["PCB"] = "SKY9X" command_options["PCB"] = "SKY9X"
firmware_options = options_sky9x firmware_options = options_sky9x
maxsize = 65536*4 maxsize = 65536 * 4
board = BOARD_SKY9X board = BOARD_SKY9X
board_family = BOARD_FAMILY_ARM board_family = BOARD_FAMILY_ARM
elif options[optcount] == "9xrpro": elif options[optcount] == "9xrpro":
command_options["PCB"] = "9XRPRO" command_options["PCB"] = "9XRPRO"
command_options["SDCARD"] = "YES" command_options["SDCARD"] = "YES"
firmware_options = options_sky9x firmware_options = options_sky9x
maxsize = 65536*4 maxsize = 65536 * 4
board = BOARD_SKY9X board = BOARD_SKY9X
board_family = BOARD_FAMILY_ARM board_family = BOARD_FAMILY_ARM
elif options[optcount] == "ar9x": elif options[optcount] == "ar9x":
@@ -86,33 +86,33 @@ elif options[optcount] == "ar9x":
command_options["SDCARD"] = "YES" command_options["SDCARD"] = "YES"
command_options["HARDWARE_VOLUME"] = "NO" command_options["HARDWARE_VOLUME"] = "NO"
firmware_options = options_ar9x firmware_options = options_ar9x
maxsize = 65536*4 maxsize = 65536 * 4
board = BOARD_SKY9X board = BOARD_SKY9X
board_family = BOARD_FAMILY_ARM board_family = BOARD_FAMILY_ARM
elif options[optcount] == "taranis": elif options[optcount] == "taranis":
command_options["PCB"] = "TARANIS" command_options["PCB"] = "TARANIS"
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] == "taranisplus": elif options[optcount] == "taranisplus":
command_options["PCB"] = "TARANIS" command_options["PCB"] = "TARANIS"
command_options["PCBREV"] = "REVPLUS" command_options["PCBREV"] = "REVPLUS"
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] == "taranisx9e": elif options[optcount] == "taranisx9e":
command_options["PCB"] = "TARANIS" command_options["PCB"] = "TARANIS"
command_options["PCBREV"] = "REV9E" command_options["PCBREV"] = "REV9E"
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] == "horus": elif options[optcount] == "horus":
command_options["PCB"] = "HORUS" command_options["PCB"] = "HORUS"
firmware_options = options_horus firmware_options = options_horus
maxsize = 2*1024*1024 maxsize = 2 * 1024 * 1024
board = BOARD_HORUS board = BOARD_HORUS
board_family = BOARD_FAMILY_ARM board_family = BOARD_FAMILY_ARM
else: else:
+10 -7
View File
@@ -13,14 +13,17 @@ languages = (
"nl" "nl"
) )
tts_avr = { tts_languages = {
"ttsen": ("TTS", "EN", None), "en",
"ttsfr": ("TTS", "FR", None), "fr",
"ttsit": ("TTS", "IT", None), "it",
"ttscz": ("TTS", "CZ", None), "cz",
"ttsde": ("TTS", "DE", None), "de",
"ttspt": ("TTS", "PT", None), "pt"
} }
tts_avr = {
"tts%s" % language: ("TTS", language.upper(), None) for language in tts_languages
}
options_9x_ext = { options_9x_ext = {
"nmea": ("EXT", "NMEA", None), "nmea": ("EXT", "NMEA", None),