mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 17:38:13 +00:00
Add release build for 64KB CC2500-only module (#615)
This commit is contained in:
parent
5147833487
commit
64c75414d8
@ -98,6 +98,8 @@ buildReleaseFiles(){
|
|||||||
build_release_stm32f1_serial_debug;
|
build_release_stm32f1_serial_debug;
|
||||||
elif [[ "$BOARD" == "multi4in1:STM32F1:multi5in1t18int" ]]; then
|
elif [[ "$BOARD" == "multi4in1:STM32F1:multi5in1t18int" ]]; then
|
||||||
build_release_stm32f1_t18int;
|
build_release_stm32f1_t18int;
|
||||||
|
elif [[ "$BOARD" == "multi4in1:STM32F1:multistm32f103c8:debug_option=none" ]]; then
|
||||||
|
build_release_stm32f1_64k;
|
||||||
else
|
else
|
||||||
printf "No release files for this board.";
|
printf "No release files for this board.";
|
||||||
fi
|
fi
|
||||||
|
31
buildroot/bin/build_release_stm32f1_64k
Normal file
31
buildroot/bin/build_release_stm32f1_64k
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
source ./buildroot/bin/buildFunctions;
|
||||||
|
exitcode=0;
|
||||||
|
|
||||||
|
# CC2500-only 64Kb builds
|
||||||
|
printf "\e[33;1mBuilding mm-stm-cc2500-64-aetr-v$MULTI_VERSION.bin\e[0m\n";
|
||||||
|
opt_enable $ALL_PROTOCOLS;
|
||||||
|
opt_disable IKEAANSLUTA_CC2500_INO;
|
||||||
|
opt_disable ENABLE_PPM;
|
||||||
|
opt_disable A7105_INSTALLED;
|
||||||
|
opt_disable CYRF6936_INSTALLED;
|
||||||
|
opt_disable NRF24L01_INSTALLED;
|
||||||
|
opt_disable INVERT_TELEMETRY;
|
||||||
|
buildMulti;
|
||||||
|
exitcode=$((exitcode+$?));
|
||||||
|
mv build/Multiprotocol.ino.bin ./binaries/mm-stm-cc2500-64-aetr-v$MULTI_VERSION.bin;
|
||||||
|
|
||||||
|
printf "\e[33;1mBuilding mm-stm-cc2500-64-taer-v$MULTI_VERSION.bin\e[0m\n";
|
||||||
|
opt_replace AETR TAER;
|
||||||
|
buildMulti;
|
||||||
|
exitcode=$((exitcode+$?));
|
||||||
|
mv build/Multiprotocol.ino.bin ./binaries/mm-stm-cc2500-64-taer-v$MULTI_VERSION.bin;
|
||||||
|
|
||||||
|
printf "\e[33;1mBuilding mm-stm-cc2500-64-reta-v$MULTI_VERSION.bin\e[0m\n";
|
||||||
|
opt_replace TAER RETA;
|
||||||
|
buildMulti;
|
||||||
|
exitcode=$((exitcode+$?));
|
||||||
|
mv build/Multiprotocol.ino.bin ./binaries/mm-stm-cc2500-64-reta-v$MULTI_VERSION.bin;
|
||||||
|
|
||||||
|
exit $exitcode;
|
Loading…
x
Reference in New Issue
Block a user