Add TXRSSI and TXLQI sensors to FrSky D8/D16/LBT when using MULTI (#7128)
[opentx.git] / radio / util / fwoptions.py
blob1b7e5cfaddbc48552efdbef1dbfa48d45a23ab7a
1 #!/usr/bin/env python
3 languages = (
4 "en",
5 "fr",
6 "se",
7 "it",
8 "cz",
9 "de",
10 "pt",
11 "es",
12 "pl",
13 "nl"
16 tts_languages = {
17 "en",
18 "fr",
19 "it",
20 "cz",
21 "de",
22 "pt"
26 options_sky9x = {
27 "heli": ("HELI", "YES", "NO"),
28 "ppmus": ("PPM_UNIT", "US", "PERCENT_PREC1"),
29 "gvars": ("GVARS", "YES", "NO"),
30 "potscroll": ("NAVIGATION", "POTS", "NO"),
31 "autosource": ("AUTOSOURCE", "YES", "NO"),
32 "autoswitch": ("AUTOSWITCH", "YES", "NO"),
33 "dblkeys": ("DBLKEYS", "YES", "NO"),
34 "nographics": ("GRAPHICS", "NO", "YES"),
35 "battgraph": ("BATTGRAPH", "YES", "NO"),
36 "nobold": ("BOLD", "NO", "YES"),
37 "sqt5font": ("FONT", "SQT5", None),
38 "imperial": ("UNITS", "IMPERIAL", "METRIC"),
39 "bluetooth": ("BLUETOOTH", "YES", "NO"),
40 "faimode": ("FAI", "YES", None),
41 "faichoice": ("FAI", "CHOICE", None),
42 "nooverridech": ("OVERRIDE_CHANNEL_FUNCTION", "NO", "YES"),
43 "flexr9m": ("MODULE_PROTOCOL_FLEX", "YES", None)
46 options_ar9x = {
47 "heli": ("HELI", "YES", "NO"),
48 "ppmus": ("PPM_UNIT", "US", "PERCENT_PREC1"),
49 "gvars": ("GVARS", "YES", "NO"),
50 "potscroll": ("NAVIGATION", "POTS", "NO"),
51 "autosource": ("AUTOSOURCE", "YES", "NO"),
52 "autoswitch": ("AUTOSWITCH", "YES", "NO"),
53 "dblkeys": ("DBLKEYS", "YES", "NO"),
54 "nographics": ("GRAPHICS", "NO", "YES"),
55 "battgraph": ("BATTGRAPH", "YES", "NO"),
56 "nobold": ("BOLD", "NO", "YES"),
57 "sqt5font": ("FONT", "SQT5", None),
58 "imperial": ("UNITS", "IMPERIAL", "METRIC"),
59 "bluetooth": ("BLUETOOTH", "YES", "NO"),
60 "faimode": ("FAI", "YES", None),
61 "faichoice": ("FAI", "CHOICE", None),
62 "nooverridech": ("OVERRIDE_CHANNEL_FUNCTION", "NO", "YES"),
63 # "rtc": ("RTCLOCK", "YES", "NO"),
64 "flexr9m": ("MODULE_PROTOCOL_FLEX", "YES", None)
67 options_taranis_x9d = {
68 "noheli": ("HELI", "NO", "YES"),
69 "ppmus": ("PPM_UNIT", "US", "PERCENT_PREC1"),
70 "lua": ("LUA", "YES", "NO_MODEL_SCRIPTS"),
71 "haptic": ("HAPTIC", "YES", "NO"),
72 "nogvars": ("GVARS", "NO", "YES"),
73 "sqt5font": ("FONT", "SQT5", None),
74 "faimode": ("FAI", "YES", None),
75 "faichoice": ("FAI", "CHOICE", None),
76 "nooverridech": ("OVERRIDE_CHANNEL_FUNCTION", "NO", "YES"),
77 "internalppm": ("INTERNAL_MODULE_PPM", "YES", "NO"),
78 "shutdownconfirm": ("SHUTDOWN_CONFIRMATION", "YES", "NO"),
79 "eu": ("MODULE_PROTOCOL_D8", "NO", "YES"),
80 "flexr9m": ("MODULE_PROTOCOL_FLEX", "YES", None)
83 options_taranis_x9dp = {
84 "noheli": ("HELI", "NO", "YES"),
85 "ppmus": ("PPM_UNIT", "US", "PERCENT_PREC1"),
86 "lua": ("LUA", "YES", "NO_MODEL_SCRIPTS"),
87 "nogvars": ("GVARS", "NO", "YES"),
88 "sqt5font": ("FONT", "SQT5", None),
89 "noras": ("RAS", "NO", "YES"),
90 "faimode": ("FAI", "YES", None),
91 "faichoice": ("FAI", "CHOICE", None),
92 "nooverridech": ("OVERRIDE_CHANNEL_FUNCTION", "NO", "YES"),
93 "internalppm": ("INTERNAL_MODULE_PPM", "YES", "NO"),
94 "shutdownconfirm": ("SHUTDOWN_CONFIRMATION", "YES", "NO"),
95 "eu": ("MODULE_PROTOCOL_D8", "NO", "YES"),
96 "flexr9m": ("MODULE_PROTOCOL_FLEX", "YES", None)
99 options_taranis_x9lite = {
100 "noheli": ("HELI", "NO", "YES"),
101 "ppmus": ("PPM_UNIT", "US", "PERCENT_PREC1"),
102 "lua": ("LUA", "YES", "NO_MODEL_SCRIPTS"),
103 "nogvars": ("GVARS", "NO", "YES"),
104 "autoupdate": ("AUTOUPDATE", "YES", None),
105 "sqt5font": ("FONT", "SQT5", None),
106 "noras": ("RAS", "NO", "YES"),
107 "faimode": ("FAI", "YES", None),
108 "faichoice": ("FAI", "CHOICE", None),
109 "nooverridech": ("OVERRIDE_CHANNEL_FUNCTION", "NO", "YES"),
110 "shutdownconfirm": ("SHUTDOWN_CONFIRMATION", "YES", "NO"),
111 "eu": ("MODULE_PROTOCOL_D8", "NO", "YES"),
112 "internalpxx1": ("INTERNAL_MODULE_PXX1", "YES", "NO"),
113 "flexr9m": ("MODULE_PROTOCOL_FLEX", "YES", None)
116 options_taranis_xlite = {
117 "noheli": ("HELI", "NO", "YES"),
118 "ppmus": ("PPM_UNIT", "US", "PERCENT_PREC1"),
119 "lua": ("LUA", "YES", "NO_MODEL_SCRIPTS"),
120 "nogvars": ("GVARS", "NO", "YES"),
121 "sqt5font": ("FONT", "SQT5", None),
122 "faimode": ("FAI", "YES", None),
123 "faichoice": ("FAI", "CHOICE", None),
124 "nooverridech": ("OVERRIDE_CHANNEL_FUNCTION", "NO", "YES"),
125 "shutdownconfirm": ("SHUTDOWN_CONFIRMATION", "YES", "NO"),
126 "eu": ("MODULE_PROTOCOL_D8", "NO", "YES"),
127 "flexr9m": ("MODULE_PROTOCOL_FLEX", "YES", None)
130 options_taranis_xlites = {
131 "noheli": ("HELI", "NO", "YES"),
132 "ppmus": ("PPM_UNIT", "US", "PERCENT_PREC1"),
133 "lua": ("LUA", "YES", "NO_MODEL_SCRIPTS"),
134 "nogvars": ("GVARS", "NO", "YES"),
135 "autoupdate": ("AUTOUPDATE", "YES", None),
136 "sqt5font": ("FONT", "SQT5", None),
137 "faimode": ("FAI", "YES", None),
138 "faichoice": ("FAI", "CHOICE", None),
139 "nooverridech": ("OVERRIDE_CHANNEL_FUNCTION", "NO", "YES"),
140 "shutdownconfirm": ("SHUTDOWN_CONFIRMATION", "YES", "NO"),
141 "eu": ("MODULE_PROTOCOL_D8", "NO", "YES"),
142 "internalpxx1": ("INTERNAL_MODULE_PXX1", "YES", "NO"),
143 "flexr9m": ("MODULE_PROTOCOL_FLEX", "YES", None)
146 options_taranis_x9e = {
147 "noheli": ("HELI", "NO", "YES"),
148 "ppmus": ("PPM_UNIT", "US", "PERCENT_PREC1"),
149 "lua": ("LUA", "YES", "NO_MODEL_SCRIPTS"),
150 "nogvars": ("GVARS", "NO", "YES"),
151 "sqt5font": ("FONT", "SQT5", None),
152 "faimode": ("FAI", "YES", None),
153 "faichoice": ("FAI", "CHOICE", None),
154 "nooverridech": ("OVERRIDE_CHANNEL_FUNCTION", "NO", "YES"),
155 "internalppm": ("INTERNAL_MODULE_PPM", "YES", "NO"),
156 "shutdownconfirm": ("SHUTDOWN_CONFIRMATION", "YES", "NO"),
157 "eu": ("MODULE_PROTOCOL_D8", "NO", "YES"),
158 "horussticks": ("STICKS", "HORUS", "STANDARD"),
159 "flexr9m": ("MODULE_PROTOCOL_FLEX", "YES", None)
162 options_horus_x12s = {
163 "noheli": ("HELI", "NO", "YES"),
164 "ppmus": ("PPM_UNIT", "US", "PERCENT_PREC1"),
165 "lua": ("LUA", "YES", "NO_MODEL_SCRIPTS"),
166 "nogvars": ("GVARS", "NO", "YES"),
167 "faimode": ("FAI", "YES", None),
168 "faichoice": ("FAI", "CHOICE", None),
169 "nooverridech": ("OVERRIDE_CHANNEL_FUNCTION", "NO", "YES"),
170 "eu": ("MODULE_PROTOCOL_D8", "NO", "YES"),
171 "pcbdev": ("PCBREV", "10", None),
172 "flexr9m": ("MODULE_PROTOCOL_FLEX", "YES", None),
173 "internalaccess": [("INTERNAL_MODULE_PXX1", "NO", None), ("INTERNAL_MODULE_PXX2", "YES", None)]
176 options_horus_x10 = {
177 "noheli": ("HELI", "NO", "YES"),
178 "ppmus": ("PPM_UNIT", "US", "PERCENT_PREC1"),
179 "lua": ("LUA", "YES", "NO_MODEL_SCRIPTS"),
180 "nogvars": ("GVARS", "NO", "YES"),
181 "faimode": ("FAI", "YES", None),
182 "faichoice": ("FAI", "CHOICE", None),
183 "nooverridech": ("OVERRIDE_CHANNEL_FUNCTION", "NO", "YES"),
184 "eu": ("MODULE_PROTOCOL_D8", "NO", "YES"),
185 "flexr9m": ("MODULE_PROTOCOL_FLEX", "YES", None),
186 "internalaccess": [("INTERNAL_MODULE_PXX1", "NO", None), ("INTERNAL_MODULE_PXX2", "YES", None)]
189 options_horus_x10express = {
190 "noheli": ("HELI", "NO", "YES"),
191 "ppmus": ("PPM_UNIT", "US", "PERCENT_PREC1"),
192 "lua": ("LUA", "YES", "NO_MODEL_SCRIPTS"),
193 "luac": ("LUA_COMPILER", "YES", "NO"),
194 "nogvars": ("GVARS", "NO", "YES"),
195 "faimode": ("FAI", "YES", None),
196 "faichoice": ("FAI", "CHOICE", None),
197 "nooverridech": ("OVERRIDE_CHANNEL_FUNCTION", "NO", "YES"),
198 "eu": ("MODULE_PROTOCOL_D8", "NO", "YES"),
199 "flexr9m": ("MODULE_PROTOCOL_FLEX", "YES", None)
202 options_jumper_t12 = {
203 "noheli": ("HELI", "NO", "YES"),
204 "ppmus": ("PPM_UNIT", "US", "PERCENT_PREC1"),
205 "lua": ("LUA", "YES", "NO_MODEL_SCRIPTS"),
206 "nogvars": ("GVARS", "NO", "YES"),
207 "faimode": ("FAI", "YES", None),
208 "faichoice": ("FAI", "CHOICE", None),
209 "nooverridech": ("OVERRIDE_CHANNEL_FUNCTION", "NO", "YES"),
210 "flexr9m": ("MODULE_PROTOCOL_FLEX", "YES", None),
211 "internalmulti": ("INTERNAL_MODULE_MULTI", "YES", "NO"),
214 options_jumper_t16 = {
215 "noheli": ("HELI", "NO", "YES"),
216 "ppmus": ("PPM_UNIT", "US", "PERCENT_PREC1"),
217 "lua": ("LUA", "YES", "NO_MODEL_SCRIPTS"),
218 "nogvars": ("GVARS", "NO", "YES"),
219 "faimode": ("FAI", "YES", None),
220 "faichoice": ("FAI", "CHOICE", None),
221 "nooverridech": ("OVERRIDE_CHANNEL_FUNCTION", "NO", "YES"),
222 "flexr9m": ("MODULE_PROTOCOL_FLEX", "YES", None),
223 "internalmulti": ("INTERNAL_MODULE_MULTI", "YES", "NO"),
224 "bluetooth": ("BLUETOOTH", "YES", "NO"),