2020-10-10 17:50:16 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
exitcode=0;
|
|
|
|
|
|
|
|
printf "\n\e[33;1mBuilding multi-avr-txflash-aetr-A7105-inv-v$MULTI_VERSION.bin\e[0m";
|
|
|
|
opt_enable CHECK_FOR_BOOTLOADER;
|
|
|
|
opt_disable $ALL_PROTOCOLS;
|
|
|
|
opt_enable $A7105_PROTOCOLS;
|
|
|
|
buildMulti;
|
|
|
|
exitcode=$((exitcode+$?));
|
|
|
|
mv build/Multiprotocol.ino.bin ./binaries/multi-avr-txflash-aetr-A7105-inv-v$MULTI_VERSION.bin;
|
|
|
|
|
|
|
|
printf "\n\e[33;1mBuilding multi-avr-txflash-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;
|
|
|
|
exitcode=$((exitcode+$?));
|
|
|
|
mv build/Multiprotocol.ino.bin ./binaries/multi-avr-txflash-aetr-CC2500-inv-v$MULTI_VERSION.bin;
|
|
|
|
|
|
|
|
printf "\n\e[33;1mBuilding multi-avr-txflash-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-txflash-aetr-CYRF6936-inv-v$MULTI_VERSION.bin;
|
|
|
|
|
2020-10-10 18:44:56 +01:00
|
|
|
exit $exitcode;
|