mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-24 16:55:15 +03:00
chore: Add missing build system bits
This commit is contained in:
parent
4c6cad7a86
commit
3f5e43aed4
5 changed files with 30 additions and 0 deletions
1
fw.json
1
fw.json
|
@ -22,6 +22,7 @@
|
|||
["Jumper T-Pro", "tpro-"],
|
||||
["RadioMaster T8", "t8-"],
|
||||
["RadioMaster TX12", "tx12-"],
|
||||
["RadioMaster TX12MK2", "tx12mk2-"],
|
||||
["RadioMaster TX16S", "tx16s-"],
|
||||
["RadioMaster Zorro","zorro-"]
|
||||
],
|
||||
|
|
|
@ -271,6 +271,19 @@ options_radiomaster_tx12 = {
|
|||
"afhds3": ("AFHDS3", "YES", "NO")
|
||||
}
|
||||
|
||||
options_radiomaster_tx12mk2 = {
|
||||
"noheli": ("HELI", "NO", "YES"),
|
||||
"ppmus": ("PPM_UNIT", "US", "PERCENT_PREC1"),
|
||||
"lua": ("LUA", "YES", "NO_MODEL_SCRIPTS"),
|
||||
"nogvars": ("GVARS", "NO", "YES"),
|
||||
"faimode": ("FAI", "YES", None),
|
||||
"faichoice": ("FAI", "CHOICE", None),
|
||||
"nooverridech": ("OVERRIDE_CHANNEL_FUNCTION", "NO", "YES"),
|
||||
"flexr9m": ("MODULE_PROTOCOL_FLEX", "YES", None),
|
||||
"afhds3": ("AFHDS3", "YES", "NO"),
|
||||
"internalelrs": ("INTERNAL_MODULE_ELRS", "YES", "NO"),
|
||||
}
|
||||
|
||||
options_radiomaster_zorro = {
|
||||
"noheli": ("HELI", "NO", "YES"),
|
||||
"ppmus": ("PPM_UNIT", "US", "PERCENT_PREC1"),
|
||||
|
|
|
@ -110,6 +110,9 @@ do
|
|||
tx12)
|
||||
BUILD_OPTIONS+="-DPCB=X7 -DPCBREV=TX12"
|
||||
;;
|
||||
tx12mk2)
|
||||
BUILD_OPTIONS+="-DPCB=X7 -DPCBREV=TX12MK2"
|
||||
;;
|
||||
t8)
|
||||
BUILD_OPTIONS+="-DPCB=X7 -DPCBREV=T8"
|
||||
;;
|
||||
|
|
|
@ -29,6 +29,16 @@ boards = {
|
|||
"PCBREV": "TX12",
|
||||
"DEFAULT_MODE": "2",
|
||||
},
|
||||
"TX12MK2_1": {
|
||||
"PCB": "X7",
|
||||
"PCBREV": "TX12MK2",
|
||||
"DEFAULT_MODE": "1",
|
||||
},
|
||||
"TX12MK2_2": {
|
||||
"PCB": "X7",
|
||||
"PCBREV": "TX12MK2",
|
||||
"DEFAULT_MODE": "2",
|
||||
},
|
||||
"ZORRO_1": {
|
||||
"PCB": "X7",
|
||||
"PCBREV": "ZORRO",
|
||||
|
|
|
@ -44,6 +44,9 @@ do
|
|||
tx12)
|
||||
BUILD_OPTIONS+="-DPCB=X7 -DPCBREV=TX12"
|
||||
;;
|
||||
tx12mk2)
|
||||
BUILD_OPTIONS+="-DPCB=X7 -DPCBREV=TX12MK2"
|
||||
;;
|
||||
zorro)
|
||||
BUILD_OPTIONS+="-DPCB=X7 -DPCBREV=ZORRO"
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue