5 * th9x - http://code.google.com/p/th9x
6 * er9x - http://code.google.com/p/er9x
7 * gruvin9x - http://code.google.com/p/gruvin9x
9 * License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
23 * Formatting octal codes available in TR_ strings:
24 * \037\x -sets LCD x-coord (x value in octal)
26 * \035 -horizontal tab (ARM only)
27 * \001 to \034 -extended spacing (value * FW/2)
28 * \0 -ends current string
33 #define TR_POTS_VSRCRAW "\310S1\0""\3106P\0""\310S2\0""\313L1\0""\313L2\0""\311LS\0""\311RS\0""\310JSx""\310JSy"
34 #define TR_SW_VSRCRAW "\312SA\0""\312SB\0""\312SC\0""\312SD\0""\312SE\0""\312SF\0""\312SG\0""\312SH\0""\312SI\0""\312SJ\0"
36 #define TR_POTS_VSRCRAW "\310S1\0""\3106P\0""\310S2\0""\310EX1""\310EX2""\311LS\0""\311RS\0""\310JSx""\310JSy"
37 #define TR_SW_VSRCRAW "\312SA\0""\312SB\0""\312SC\0""\312SD\0""\312SE\0""\312SF\0""\312SG\0""\312SH\0""\312SI\0""\312SJ\0"
39 #define TR_POTS_VSRCRAW "\310F1\0""\310F2\0""\310F3\0""\310F4\0""\311S1\0""\311S2\0""\311LS\0""\311RS\0"
40 #define TR_SW_VSRCRAW "\312SA\0""\312SB\0""\312SC\0""\312SD\0""\312SE\0""\312SF\0""\312SG\0""\312SH\0""\312SI\0""\312SJ\0""\312SK\0""\312SL\0""\312SM\0""\312SN\0""\312SO\0""\312SP\0""\312SQ\0""\312SR\0"
41 #elif defined(PCBXLITE)
42 #define TR_POTS_VSRCRAW "\310S1\0""\310S2\0"
43 #define TR_SW_VSRCRAW "\312SA\0""\312SB\0""\312SC\0""\312SD\0""\312SE\0""\312SF\0"
44 #elif defined(RADIO_X7)
45 #define TR_POTS_VSRCRAW "\310S1\0""\310S2\0"
46 #define TR_SW_VSRCRAW "\312SA\0""\312SB\0""\312SC\0""\312SD\0""\312SF\0""\312SH\0""\312SI\0""\312SJ\0"
47 #elif defined(RADIO_T12)
48 #define TR_POTS_VSRCRAW "\310S1\0""\310S2\0"
49 #define TR_SW_VSRCRAW "\312SA\0""\312SB\0""\312SC\0""\312SD\0""\312SG\0""\312SH\0""\312SI\0""\312SJ\0"
50 #elif defined(PCBX9LITES)
51 #define TR_POTS_VSRCRAW "\310S1\0"
52 #define TR_SW_VSRCRAW "\312SA\0""\312SB\0""\312SC\0""\312SD\0""\312SE\0""\312SF\0""\312SG\0"
53 #elif defined(PCBX9LITE)
54 #define TR_POTS_VSRCRAW "\310S1\0"
55 #define TR_SW_VSRCRAW "\312SA\0""\312SB\0""\312SC\0""\312SD\0""\312SE\0"
56 #elif defined(PCBTARANIS)
57 #define TR_POTS_VSRCRAW "\310S1\0""\310S2\0""\310S3\0""\311LS\0""\311RS\0"
58 #define TR_SW_VSRCRAW "\312SA\0""\312SB\0""\312SC\0""\312SD\0""\312SE\0""\312SF\0""\312SG\0""\312SH\0""\312SI\0"
59 #elif defined(PCBSKY9X)
60 #define TR_POTS_VSRCRAW "P1\0 ""P2\0 ""P3\0 "
61 #define TR_SW_VSRCRAW "3POS" "THR\0""RUD\0""ELE\0""AIL\0""GEA\0""TRN\0"
64 #if defined(PCBTARANIS) || defined(PCBHORUS)
65 // only special switches here
66 #define TR_VSWITCHES "---" TR_TRIMS_SWITCHES TR_ON_ONE_SWITCHES
67 #elif defined(PCBSKY9X)
68 #define TR_VSWITCHES "---" "ID0""ID1""ID2" "THR""RUD""ELE""AIL""GEA""TRN" TR_TRIMS_SWITCHES TR_ROTENC_SWITCHES TR_ON_ONE_SWITCHES
72 #define TR_VTRAINERMODES TR_VTRAINER_MASTER_JACK TR_VTRAINER_SLAVE_JACK TR_VTRAINER_BLUETOOTH TR_VTRAINER_MULTI
73 #elif defined(PCBTARANIS)
74 #define TR_VTRAINERMODES TR_VTRAINER_MASTER_JACK TR_VTRAINER_SLAVE_JACK TR_VTRAINER_MASTER_SBUS_MODULE TR_VTRAINER_MASTER_CPPM_MODULE TR_VTRAINER_MASTER_BATTERY TR_VTRAINER_BLUETOOTH TR_VTRAINER_MULTI
76 #define TR_VTRAINERMODES TR_VTRAINER_MASTER_JACK TR_VTRAINER_SLAVE_JACK TR_VTRAINER_MASTER_CPPM_MODULE TR_VTRAINER_MASTER_BATTERY TR_VTRAINER_BLUETOOTH TR_VTRAINER_MULTI
79 #define TR_VSRCRAW "---\0" TR_STICKS_VSRCRAW TR_POTS_VSRCRAW TR_ROTARY_ENCODERS TR_GYR_VSRCRAW "MAX\0" TR_CYC_VSRCRAW TR_TRIMS_VSRCRAW TR_SW_VSRCRAW TR_EXTRA_VSRCRAW
81 #if defined(MODULE_PROTOCOL_FLEX)
82 #define TR_MODULE_R9M_LITE "R9ML\0 "
84 #define TR_MODULE_R9M_LITE "R9MLite\0 "
87 #define LEN_EXTERNAL_MODULE_PROTOCOLS "\014"
88 #define TR_EXTERNAL_MODULE_PROTOCOLS "OFF\0 ""PPM\0 ""XJT\0 ""ISRM\0 ""DSM2\0 ""CRSF\0 ""MULTI\0 ""R9M\0 ""R9M ACCESS\0 " TR_MODULE_R9M_LITE "R9ML ACCESS\0""R9MLP\0 ""R9MLP ACCESS""SBUS\0 ""XJT Lite"
90 #define LEN_INTERNAL_MODULE_PROTOCOLS LEN_EXTERNAL_MODULE_PROTOCOLS
91 #define TR_INTERNAL_MODULE_PROTOCOLS TR_EXTERNAL_MODULE_PROTOCOLS
93 #define LEN_XJT_ACCST_RF_PROTOCOLS "\004"
94 #define TR_XJT_ACCST_RF_PROTOCOLS "OFF\0""D16\0""D8\0 ""LR12"
96 #if defined(INTERNAL_MODULE_PXX1) || defined(PCBHORUS)
97 #define LEN_ISRM_RF_PROTOCOLS "\006"
98 #define TR_ISRM_RF_PROTOCOLS "ACCESS""D16\0 ""LR12"
100 #define LEN_ISRM_RF_PROTOCOLS "\012"
101 #define TR_ISRM_RF_PROTOCOLS "OFF\0 ""ACCESS\0 ""ACCST D16\0""ACCST LR12""ACCST D8"
104 #define LEN_R9M_PXX2_RF_PROTOCOLS "\006"
105 #define TR_R9M_PXX2_RF_PROTOCOLS "ACCESS""FCC\0 ""EU\0 ""Flex"
107 #define LEN_R9M_REGION "\006"
108 #define TR_R9M_REGION "FCC\0 ""EU\0 ""868MHz""915MHz"
110 #define LEN_R9M_LITE_FCC_POWER_VALUES "\010"
111 #define TR_R9M_LITE_FCC_POWER_VALUES "(100mW)"
113 #define LEN_R9M_LITE_LBT_POWER_VALUES "\014"
114 #define TR_R9M_LITE_LBT_POWER_VALUES "25mW 8CH\0 ""25mW 16CH\0 ""100mW NoTele"
116 #define LEN_R9M_FCC_POWER_VALUES "\011"
117 #define TR_R9M_FCC_POWER_VALUES "10mW\0 " "100mW\0 " "500mW\0 " "1W (auto)"
119 #define LEN_R9M_LBT_POWER_VALUES "\014"
120 #define TR_R9M_LBT_POWER_VALUES "25mW 8CH\0 ""25mW 16CH\0 ""200mW NoTele""500mW NoTele"
122 #define LEN_DSM_PROTOCOLS "\004"
123 #define TR_DSM_PROTOCOLS "LP45""DSM2""DSMX"
125 #define LEN_MULTI_PROTOCOLS "\007"
126 #define TR_MULTI_PROTOCOLS "FlySky\0""Hubsan\0""FrSky\0 ""Hisky\0 ""V2x2\0 ""DSM\0 ""Devo\0 ""YD717\0 ""KN\0 ""SymaX\0 ""SLT\0 ""CX10\0 ""CG023\0 ""Bayang\0""ESky\0 ""MT99XX\0""MJXq\0 ""Shenqi\0""FY326\0 ""SFHSS\0 ""J6 Pro\0""FQ777\0 ""Assan\0 ""Hontai\0""OpenLrs""FSky 2A""Q2x2\0 ""Walkera""Q303\0 ""GW008\0 ""DM002\0 ""Cabell\0""Esky150""H8 3D\0 ""Corona\0""CFlie\0 ""Hitec\0 ""WFly\0 ""Bugs\0 ""BugMini""Traxxas""NCC1701""E01X\0 ""V911S\0 ""GD00X\0 ""V761\0 ""KF606\0 ""Redpine""Potensi""ZSX\0 ""FlyZone""Scanner""FrSkyRX""FS2A_RX"