1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-20 06:45:08 +03:00

Finish enabling builds for T18

This commit is contained in:
Raphael Coeffic 2021-05-29 23:29:29 +02:00
parent b79c459b8c
commit df79e10be5
2 changed files with 12 additions and 0 deletions

View file

@ -118,6 +118,9 @@ case $FLAVOR in
T16)
BUILD_OPTIONS+="-DPCB=X10 -DPCBREV=T16"
;;
T18)
BUILD_OPTIONS+="-DPCB=X10 -DPCBREV=T18"
;;
TX16S)
BUILD_OPTIONS+="-DPCB=X10 -DPCBREV=TX16S"
;;

View file

@ -229,6 +229,15 @@ if [[ " T16 COLORLCD ALL " =~ \ ${FLAVOR}\ ]] ; then
make -j"${CORES}" tests-radio
fi
if [[ " T18 COLORLCD ALL " =~ \ ${FLAVOR}\ ]] ; then
# OpenTX on T16 boards
rm -rf ./* || true
cmake "${COMMON_OPTIONS}" -DPCB=X10 -DPCBREV=T18 -DHELI=YES -DLUA=YES -DGVARS=YES -DAFHDS3=NO "${SRCDIR}"
make -j"${CORES}" ${FIRMARE_TARGET}
make -j"${CORES}" libsimulator
make -j"${CORES}" tests-radio
fi
if [[ " TX16S COLORLCD ALL " =~ \ ${FLAVOR}\ ]] ; then
# OpenTX on TX16S boards
rm -rf ./* || true