mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 18:58:13 +00:00
a633f46f4f
* Move the release build steps into separate shell scripts * Remove builds that we don't need any more * Latest builds of er9x and erSkyTx both support MULTI_TELEMETRY so separate OpenTX / erSkyTx builds are no longer needed * Radio can switch telemetry inversion on or off automatically so STM32 inv / noinv builds are no longer needed
25 lines
729 B
Bash
25 lines
729 B
Bash
#!/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;
|