mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 18:38:13 +00:00
29 lines
838 B
Bash
29 lines
838 B
Bash
#!/usr/bin/env bash
|
|
|
|
source ./buildroot/bin/buildFunctions;
|
|
exitcode=0;
|
|
|
|
T18_DISABLED="MOULDKG_NRF24L01_INO IKEAANSLUTA_CC2500_INO";
|
|
|
|
printf "\e[33;1mBuilding mm-t18int-aetr-v$MULTI_VERSION.bin\e[0m\n";
|
|
opt_disable ENABLE_PPM;
|
|
opt_disable INVERT_TELEMETRY;
|
|
opt_disable $T18_DISABLED;
|
|
buildMulti;
|
|
exitcode=$((exitcode+$?));
|
|
mv build/Multiprotocol.ino.bin ./binaries/mm-t18int-aetr-v$MULTI_VERSION.bin;
|
|
|
|
printf "\e[33;1mBuilding mm-t18int-taer-v$MULTI_VERSION.bin\e[0m\n";
|
|
opt_replace AETR TAER;
|
|
buildMulti;
|
|
exitcode=$((exitcode+$?));
|
|
mv build/Multiprotocol.ino.bin ./binaries/mm-t18int-taer-v$MULTI_VERSION.bin;
|
|
|
|
printf "\e[33;1mBuilding mm-t18int-reta-v$MULTI_VERSION.bin\e[0m\n";
|
|
opt_replace TAER RETA;
|
|
buildMulti;
|
|
exitcode=$((exitcode+$?));
|
|
mv build/Multiprotocol.ino.bin ./binaries/mm-t18int-reta-v$MULTI_VERSION.bin;
|
|
|
|
exit $exitcode;
|