mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-10 16:18:13 +00:00
25 lines
729 B
Plaintext
25 lines
729 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
exitcode=0;
|
||
|
|
||
|
printf "\n\e[33;1mBuilding multi-t18int-aetr-v$MULTI_VERSION.bin\e[0m";
|
||
|
opt_disable ENABLE_PPM;
|
||
|
opt_disable INVERT_TELEMETRY;
|
||
|
buildMulti;
|
||
|
exitcode=$((exitcode+$?));
|
||
|
mv build/Multiprotocol.ino.bin ./binaries/multi-t18int-aetr-v$MULTI_VERSION.bin;
|
||
|
|
||
|
printf "\n\e[33;1mBuilding multi-t18int-taer-v$MULTI_VERSION.bin\e[0m";
|
||
|
opt_replace AETR TAER;
|
||
|
buildMulti;
|
||
|
exitcode=$((exitcode+$?));
|
||
|
mv build/Multiprotocol.ino.bin ./binaries/multi-t18int-taer-v$MULTI_VERSION.bin;
|
||
|
|
||
|
printf "\n\e[33;1mBuilding multi-t18int-reta-v$MULTI_VERSION.bin\e[0m";
|
||
|
opt_replace TAER RETA;
|
||
|
buildMulti;
|
||
|
exitcode=$((exitcode+$?));
|
||
|
mv build/Multiprotocol.ino.bin ./binaries/multi-t18int-reta-v$MULTI_VERSION.bin;
|
||
|
|
||
|
exit $exitcode;
|