Add '-inv-' to file names for the xn297dump builds

This commit is contained in:
Ben Lye 2019-11-28 18:59:40 +00:00 committed by GitHub
parent c803eeb26a
commit 2e5a8f384a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,7 +166,7 @@ before_install:
mv build/Multiprotocol.ino.bin ./binaries/multi-stm-ppm-reta-noinv-v$MULTI_VERSION.bin; }; mv build/Multiprotocol.ino.bin ./binaries/multi-stm-ppm-reta-noinv-v$MULTI_VERSION.bin; };
elif [[ "$BOARD" == "multi4in1:STM32F1:multistm32f103c:debug_option=native" ]]; then elif [[ "$BOARD" == "multi4in1:STM32F1:multistm32f103c:debug_option=native" ]]; then
buildReleaseFiles(){ buildReleaseFiles(){
printf "\n\e[33;1mBuilding multi-stm-erskytx-xn297dump-usbdebug-v$MULTI_VERSION.bin\e[0m"; printf "\n\e[33;1mBuilding multi-stm-erskytx-xn297dump-inv-usbdebug-v$MULTI_VERSION.bin\e[0m";
opt_enable CHECK_FOR_BOOTLOADER; opt_enable CHECK_FOR_BOOTLOADER;
opt_disable $ALL_PROTOCOLS; opt_disable $ALL_PROTOCOLS;
opt_add XN297DUMP_NRF24L01_INO; opt_add XN297DUMP_NRF24L01_INO;
@ -174,17 +174,17 @@ before_install:
opt_disable MULTI_TELEMETRY; opt_disable MULTI_TELEMETRY;
opt_enable INVERT_TELEMETRY; opt_enable INVERT_TELEMETRY;
buildMulti; buildMulti;
mv build/Multiprotocol.ino.bin ./binaries/multi-stm-erskytx-xn297dump-usbdebug-v$MULTI_VERSION.bin; mv build/Multiprotocol.ino.bin ./binaries/multi-stm-erskytx-xn297dump-inv-usbdebug-v$MULTI_VERSION.bin;
printf "\n\e[33;1mBuilding multi-stm-opentx-xn297dump-usbdebug-v$MULTI_VERSION.bin\e[0m"; printf "\n\e[33;1mBuilding multi-stm-opentx-xn297dump-inv-usbdebug-v$MULTI_VERSION.bin\e[0m";
opt_disable $ALL_PROTOCOLS; opt_disable $ALL_PROTOCOLS;
opt_disable MULTI_STATUS; opt_disable MULTI_STATUS;
opt_enable MULTI_TELEMETRY; opt_enable MULTI_TELEMETRY;
opt_enable INVERT_TELEMETRY; opt_enable INVERT_TELEMETRY;
buildMulti; buildMulti;
mv build/Multiprotocol.ino.bin ./binaries/multi-stm-opentx-xn297dump-usbdebug-v$MULTI_VERSION.bin; }; mv build/Multiprotocol.ino.bin ./binaries/multi-stm-opentx-xn297dump-inv-usbdebug-v$MULTI_VERSION.bin; };
elif [[ "$BOARD" == "multi4in1:STM32F1:multistm32f103c:debug_option=ftdi" ]]; then elif [[ "$BOARD" == "multi4in1:STM32F1:multistm32f103c:debug_option=ftdi" ]]; then
buildReleaseFiles(){ buildReleaseFiles(){
printf "\n\e[33;1mBuilding multi-stm-erskytx-xn297dump-ftdidebug-v$MULTI_VERSION.bin\e[0m"; printf "\n\e[33;1mBuilding multi-stm-erskytx-xn297dump-inv-ftdidebug-v$MULTI_VERSION.bin\e[0m";
opt_enable CHECK_FOR_BOOTLOADER; opt_enable CHECK_FOR_BOOTLOADER;
opt_disable $ALL_PROTOCOLS; opt_disable $ALL_PROTOCOLS;
opt_add XN297DUMP_NRF24L01_INO; opt_add XN297DUMP_NRF24L01_INO;
@ -192,14 +192,14 @@ before_install:
opt_disable MULTI_TELEMETRY; opt_disable MULTI_TELEMETRY;
opt_enable INVERT_TELEMETRY; opt_enable INVERT_TELEMETRY;
buildMulti; buildMulti;
mv build/Multiprotocol.ino.bin ./binaries/multi-stm-erskytx-xn297dump-ftdidebug-v$MULTI_VERSION.bin; mv build/Multiprotocol.ino.bin ./binaries/multi-stm-erskytx-xn297dump-inv-ftdidebug-v$MULTI_VERSION.bin;
printf "\n\e[33;1mBuilding multi-stm-opentx-xn297dump-ftdidebug-v$MULTI_VERSION.bin\e[0m"; printf "\n\e[33;1mBuilding multi-stm-opentx-xn297dump-inv-ftdidebug-v$MULTI_VERSION.bin\e[0m";
opt_disable $ALL_PROTOCOLS; opt_disable $ALL_PROTOCOLS;
opt_disable MULTI_STATUS; opt_disable MULTI_STATUS;
opt_enable MULTI_TELEMETRY; opt_enable MULTI_TELEMETRY;
opt_enable INVERT_TELEMETRY; opt_enable INVERT_TELEMETRY;
buildMulti; buildMulti;
mv build/Multiprotocol.ino.bin ./binaries/multi-stm-opentx-xn297dump-ftdidebug-v$MULTI_VERSION.bin; mv build/Multiprotocol.ino.bin ./binaries/multi-stm-opentx-xn297dump-inv-ftdidebug-v$MULTI_VERSION.bin;
printf "\n\e[33;1mBuilding multi-stm-erskytx-aetr-inv-ftdidebug-v$MULTI_VERSION.bin\e[0m"; printf "\n\e[33;1mBuilding multi-stm-erskytx-aetr-inv-ftdidebug-v$MULTI_VERSION.bin\e[0m";
opt_enable $ALL_PROTOCOLS; opt_enable $ALL_PROTOCOLS;
opt_enable MULTI_STATUS; opt_enable MULTI_STATUS;