mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-11 02:03:47 +00:00
Save space in the 5in1 modules
This commit is contained in:
parent
940f241b9d
commit
32bd39f209
@ -5,7 +5,7 @@ exitcode=0;
|
|||||||
|
|
||||||
# Builds for the DIY 5-in-1 module exceed the 120KB working capacity of the STM32F103CB
|
# 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
|
# 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
|
# Generic 4-in-1 builds
|
||||||
printf "\e[33;1mBuilding mm-stm-serial-aetr-v$MULTI_VERSION.bin\e[0m\n";
|
printf "\e[33;1mBuilding mm-stm-serial-aetr-v$MULTI_VERSION.bin\e[0m\n";
|
||||||
|
@ -3,9 +3,12 @@
|
|||||||
source ./buildroot/bin/buildFunctions;
|
source ./buildroot/bin/buildFunctions;
|
||||||
exitcode=0;
|
exitcode=0;
|
||||||
|
|
||||||
|
T18_DISABLED="MOULDKG_NRF24L01_INO IKEAANSLUTA_CC2500_INO";
|
||||||
|
|
||||||
printf "\e[33;1mBuilding mm-t18int-aetr-v$MULTI_VERSION.bin\e[0m\n";
|
printf "\e[33;1mBuilding mm-t18int-aetr-v$MULTI_VERSION.bin\e[0m\n";
|
||||||
opt_disable ENABLE_PPM;
|
opt_disable ENABLE_PPM;
|
||||||
opt_disable INVERT_TELEMETRY;
|
opt_disable INVERT_TELEMETRY;
|
||||||
|
opt_disable $T18_DISABLED;
|
||||||
buildMulti;
|
buildMulti;
|
||||||
exitcode=$((exitcode+$?));
|
exitcode=$((exitcode+$?));
|
||||||
mv build/Multiprotocol.ino.bin ./binaries/mm-t18int-aetr-v$MULTI_VERSION.bin;
|
mv build/Multiprotocol.ino.bin ./binaries/mm-t18int-aetr-v$MULTI_VERSION.bin;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user