3djc/telem rename (#3678)
* Rename EXT option to TELEMETRY * Change test accordingly * Rename FRSKY to TELEMETRY_FRSKY * Rename ARDUPILOT to TELEMETRY_ARDUPILOT * More renames (JETI, MAVLINK, NMEA) * Fixes to make commit-test happy * Further tests added to commit-test * Cleanup * Rename EXTSTD to TELEMETRY_NONE
This commit is contained in:
@@ -66,14 +66,14 @@ elif options[optcount] == "9xr128":
|
||||
board_family = BOARD_FAMILY_AVR
|
||||
elif options[optcount] == "gruvin9x":
|
||||
command_options["PCB"] = "GRUVIN9X"
|
||||
command_options["EXT"] = "FRSKY"
|
||||
command_options["TELEMETRY"] = "FRSKY"
|
||||
firmware_options = options_gruvin9x
|
||||
maxsize = 65536 * 4
|
||||
board = BOARD_GRUVIN9X
|
||||
board_family = BOARD_FAMILY_AVR
|
||||
elif options[optcount] == "mega2560":
|
||||
command_options["PCB"] = "MEGA2560"
|
||||
command_options["EXT"] = "FRSKY"
|
||||
command_options["TELEMETRY"] = "FRSKY"
|
||||
firmware_options = options_mega2560
|
||||
maxsize = 65536 * 4
|
||||
board = BOARD_GRUVIN9X
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# The commands used to compare 2.2 flash usage
|
||||
# on 2.1 release: make PCB=9X EXT=FRSKY VOICE=YES AUDIO=YES AUTOSOURCE=YES AUTOSWITCH=YES HELI=YES TEMPLATES=YES GAUGES=NO
|
||||
# => 64818 (program) + 3236 (data)
|
||||
# on 2.2 release: cmake -DPCB=9X -DEXT=FRSKY -DAUDIO=YES -DVOICE=YES -DHELI=YES -DTEMPLATES=YES ~/git/opentx
|
||||
# on 2.2 release: cmake -DPCB=9X -DTELEMETRY=FRSKY -DAUDIO=YES -DVOICE=YES -DHELI=YES -DTEMPLATES=YES ~/git/opentx
|
||||
# => 64828 (program) + 3236 (data)
|
||||
|
||||
import os
|
||||
|
||||
@@ -26,12 +26,12 @@ tts_avr = {
|
||||
}
|
||||
|
||||
options_9x_ext = {
|
||||
"nmea": ("EXT", "NMEA", None),
|
||||
"frsky": ("EXT", "FRSKY", None),
|
||||
"telemetrez": ("EXT", "TELEMETREZ", None),
|
||||
"jeti": ("EXT", "JETI", None),
|
||||
"ardupilot": ("EXT", "ARDUPILOT", None),
|
||||
"mavlink": ("EXT", "MAVLINK", None),
|
||||
"nmea": ("TELEMETRY", "NMEA", None),
|
||||
"frsky": ("TELEMETRY", "FRSKY", None),
|
||||
"telemetrez": ("TELEMETRY", "TELEMETREZ", None),
|
||||
"jeti": ("TELEMETRY", "JETI", None),
|
||||
"ardupilot": ("TELEMETRY", "ARDUPILOT", None),
|
||||
"mavlink": ("TELEMETRY", "MAVLINK", None),
|
||||
}
|
||||
|
||||
options_9x = {
|
||||
|
||||
Reference in New Issue
Block a user