Save space in the 5in1 modules

This commit is contained in:
Pascal Langer 2021-09-07 15:07:37 +02:00
parent 940f241b9d
commit 32bd39f209
2 changed files with 4 additions and 1 deletions

View File

@ -5,7 +5,7 @@ exitcode=0;
# Builds for the DIY 5-in-1 module exceed the 120KB working capacity of the STM32F103CB
# To work around this we have to disable some protocols in the builds for this module
DIY_5IN1_DISABLED="MOULDKG_NRF24L01_INO";
DIY_5IN1_DISABLED="MOULDKG_NRF24L01_INO IKEAANSLUTA_CC2500_INO";
# Generic 4-in-1 builds
printf "\e[33;1mBuilding mm-stm-serial-aetr-v$MULTI_VERSION.bin\e[0m\n";

View File

@ -3,9 +3,12 @@
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;