mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 17: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
28 lines
991 B
Bash
28 lines
991 B
Bash
#!/usr/bin/env bash
|
|
|
|
exitcode=0;
|
|
|
|
printf "\n\e[33;1mBuilding multi-avr-usbasp-aetr-A7105-inv-v$MULTI_VERSION.bin\e[0m";
|
|
opt_disable CHECK_FOR_BOOTLOADER;
|
|
opt_disable $ALL_PROTOCOLS;
|
|
opt_enable $A7105_PROTOCOLS;
|
|
buildMulti;
|
|
exitcode=$((exitcode+$?));
|
|
mv build/Multiprotocol.ino.bin ./binaries/multi-avr-usbasp-aetr-A7105-inv-v$MULTI_VERSION.bin;
|
|
|
|
printf "\n\e[33;1mBuilding multi-avr-usbasp-aetr-CC2500-inv-v$MULTI_VERSION.bin\e[0m";
|
|
opt_disable $ALL_PROTOCOLS;
|
|
opt_enable $CC2500_PROTOCOLS;
|
|
opt_disable HITEC_CC2500_INO REDPINE_CC2500_INO SKYARTEC_CC2500_INO SCANNER_CC2500_INO;
|
|
buildMulti;
|
|
mv build/Multiprotocol.ino.bin ./binaries/multi-avr-usbasp-aetr-CC2500-inv-v$MULTI_VERSION.bin;
|
|
|
|
printf "\n\e[33;1mBuilding multi-avr-usbasp-aetr-CYRF6936-inv-v$MULTI_VERSION.bin\e[0m";
|
|
opt_disable $ALL_PROTOCOLS;
|
|
opt_enable $CYRF6936_PROTOCOLS;
|
|
buildMulti;
|
|
exitcode=$((exitcode+$?));
|
|
mv build/Multiprotocol.ino.bin ./binaries/multi-avr-usbasp-aetr-CYRF6936-inv-v$MULTI_VERSION.bin;
|
|
|
|
exit $exitcode;
|