mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 20:48:12 +00:00
Disable PPM/serial in builds as needed
This commit is contained in:
parent
5639def6fb
commit
313b03fb84
@ -106,6 +106,7 @@ before_install:
|
|||||||
printf "\n\e[33;1mBuilding multi-stm-erskytx-aetr-inv-v$MULTI_VERSION.bin\e[0m";
|
printf "\n\e[33;1mBuilding multi-stm-erskytx-aetr-inv-v$MULTI_VERSION.bin\e[0m";
|
||||||
exitcode=0;
|
exitcode=0;
|
||||||
opt_enable CHECK_FOR_BOOTLOADER;
|
opt_enable CHECK_FOR_BOOTLOADER;
|
||||||
|
opt_disable ENABLE_PPM;
|
||||||
opt_enable $ALL_PROTOCOLS;
|
opt_enable $ALL_PROTOCOLS;
|
||||||
opt_enable MULTI_STATUS;
|
opt_enable MULTI_STATUS;
|
||||||
opt_disable MULTI_TELEMETRY;
|
opt_disable MULTI_TELEMETRY;
|
||||||
@ -173,6 +174,8 @@ before_install:
|
|||||||
exitcode=$((exitcode+$?));
|
exitcode=$((exitcode+$?));
|
||||||
mv build/Multiprotocol.ino.bin ./binaries/multi-stm-opentx-reta-noinv-v$MULTI_VERSION.bin;
|
mv build/Multiprotocol.ino.bin ./binaries/multi-stm-opentx-reta-noinv-v$MULTI_VERSION.bin;
|
||||||
printf "\n\e[33;1mBuilding multi-stm-ppm-aetr-noinv-v$MULTI_VERSION.bin\e[0m";
|
printf "\n\e[33;1mBuilding multi-stm-ppm-aetr-noinv-v$MULTI_VERSION.bin\e[0m";
|
||||||
|
opt_enable ENABLE_PPM;
|
||||||
|
opt_disable ENABLE_SERIAL;
|
||||||
opt_replace RETA AETR;
|
opt_replace RETA AETR;
|
||||||
opt_disable MULTI_STATUS;
|
opt_disable MULTI_STATUS;
|
||||||
opt_disable MULTI_TELEMETRY;
|
opt_disable MULTI_TELEMETRY;
|
||||||
@ -238,6 +241,7 @@ before_install:
|
|||||||
elif [[ "$BOARD" == "multi4in1:STM32F1:multi5in1t18int" ]]; then
|
elif [[ "$BOARD" == "multi4in1:STM32F1:multi5in1t18int" ]]; then
|
||||||
buildReleaseFiles(){
|
buildReleaseFiles(){
|
||||||
printf "\n\e[33;1mBuilding multi-t18int-opentx-aetr-noinv-v$MULTI_VERSION.bin\e[0m";
|
printf "\n\e[33;1mBuilding multi-t18int-opentx-aetr-noinv-v$MULTI_VERSION.bin\e[0m";
|
||||||
|
opt_disable ENABLE_PPM;
|
||||||
opt_disable INVERT_TELEMETRY;
|
opt_disable INVERT_TELEMETRY;
|
||||||
exitcode=0;
|
exitcode=0;
|
||||||
buildMulti;
|
buildMulti;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user