From 32bd39f209d0eb3d72fc919b2332353455af80b3 Mon Sep 17 00:00:00 2001 From: Pascal Langer Date: Tue, 7 Sep 2021 15:07:37 +0200 Subject: [PATCH] Save space in the 5in1 modules --- buildroot/bin/build_release_stm32f1_no_debug | 2 +- buildroot/bin/build_release_stm32f1_t18int | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/buildroot/bin/build_release_stm32f1_no_debug b/buildroot/bin/build_release_stm32f1_no_debug index a6ab4a8..89b396f 100644 --- a/buildroot/bin/build_release_stm32f1_no_debug +++ b/buildroot/bin/build_release_stm32f1_no_debug @@ -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"; diff --git a/buildroot/bin/build_release_stm32f1_t18int b/buildroot/bin/build_release_stm32f1_t18int index 196f5f8..7ffc14c 100644 --- a/buildroot/bin/build_release_stm32f1_t18int +++ b/buildroot/bin/build_release_stm32f1_t18int @@ -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;