From df79e10be5fcec6056f099eeadec576f0d037bc4 Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Sat, 29 May 2021 23:29:29 +0200 Subject: [PATCH] Finish enabling builds for T18 --- tools/build-gh.sh | 3 +++ tools/commit-tests.sh | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/tools/build-gh.sh b/tools/build-gh.sh index 1e3dad932..8164281c9 100755 --- a/tools/build-gh.sh +++ b/tools/build-gh.sh @@ -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" ;; diff --git a/tools/commit-tests.sh b/tools/commit-tests.sh index bd229295d..e1bda7b6b 100755 --- a/tools/commit-tests.sh +++ b/tools/commit-tests.sh @@ -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