feat: Flysky PL18 Support (#4105)

Co-authored-by: raphaelcoeffic <raphael.coeffic@frafos.com>
Co-authored-by: rotorman <risto.koiva@web.de>
Co-authored-by: Xy201207 <yaoxu@flysky.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
richardclli
2023-12-06 09:00:44 +10:00
committed by GitHub
co-authored by raphaelcoeffic rotorman Xy201207 Peter Feerick
parent 5153aaeea0
commit cc17046e7a
128 changed files with 9178 additions and 171 deletions
+7 -1
View File
@@ -70,7 +70,7 @@ declare -a simulator_plugins=(x9lite x9lites
tlite tpro lr3pro
x9d x9dp x9dp2019 x9e
xlite xlites
nv14
nv14 pl18 pl18ev
x10 x10-access x12s
t16 t18 tx16s)
@@ -170,6 +170,12 @@ do
commando8)
BUILD_OPTIONS+="-DPCB=X7 -DPCBREV=COMMANDO8"
;;
pl18)
BUILD_OPTIONS+="-DPCB=PL18"
;;
pl18ev)
BUILD_OPTIONS+="-DPCB=PL18 -DPCBREV=PL18EV"
;;
*)
echo "Unknown target: $target_name"
exit 1
+4 -9
View File
@@ -9,15 +9,10 @@ import tempfile
boards = {
"NV14": {
"PCB": "NV14",
"DEFAULT_MODE": "1",
},
"EL18": {
"PCB": "NV14",
"PCBREV": "EL18",
"DEFAULT_MODE": "1",
},
"NV14": { "PCB": "NV14" },
"EL18": { "PCB": "NV14", "PCBREV": "EL18" },
"PL18": { "PCB": "PL18" },
"PL18EV": { "PCB": "PL18", "PCBREV": "PL18EV" },
}
translations = [
+6
View File
@@ -191,6 +191,12 @@ do
el18)
BUILD_OPTIONS+="-DPCB=NV14 -DPCBREV=EL18"
;;
pl18)
BUILD_OPTIONS+="-DPCB=PL18"
;;
pl18ev)
BUILD_OPTIONS+="-DPCB=PL18 -DPCBREV=PL18EV"
;;
commando8)
BUILD_OPTIONS+="-DPCB=X7 -DPCBREV=COMMANDO8"
;;
+6
View File
@@ -148,6 +148,12 @@ do
el18)
BUILD_OPTIONS+="-DPCB=NV14 -DPCBREV=EL18"
;;
pl18)
BUILD_OPTIONS+="-DPCB=PL18"
;;
pl18ev)
BUILD_OPTIONS+="-DPCB=PL18 -DPCBREV=PL18EV"
;;
commando8)
BUILD_OPTIONS+="-DPCB=X7 -DPCBREV=COMMANDO8"
;;
+4 -1
View File
@@ -8,7 +8,7 @@ if [[ -n ${GCC_ARM} ]] ; then
export PATH=${GCC_ARM}:$PATH
fi
: ${FLAVOR:="tx16s;x12s;nv14;x9d;x9dp;x9e;x9lite;xlites;x7;tpro;t20"}
: ${FLAVOR:="tx16s;x12s;nv14;pl18;x9d;x9dp;x9e;x9lite;xlites;x7;tpro;t20"}
: ${SRCDIR:=$(dirname "$(pwd)/$0")/..}
: ${COMMON_OPTIONS:="-DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_RULE_MESSAGES=OFF -Wno-dev -DDISABLE_COMPANION=YES -DCMAKE_MESSAGE_LOG_LEVEL=WARNING"}
@@ -110,6 +110,9 @@ do
nv14)
BUILD_OPTIONS+="-DPCB=NV14"
;;
pl18)
BUILD_OPTIONS+="-DPCB=PL18"
;;
commando8)
BUILD_OPTIONS+="-DPCB=X7 -DPCBREV=COMMANDO8"
;;