[Build] Reduce bin size by excluding libs from 1M builds

[Build] Make minimal_core_274_ESP8266_1M_OTA_FHEM_HA fit again
This commit is contained in:
TD-er
2022-10-17 14:53:04 +02:00
parent 8bcd0209f1
commit a927c9a5fb
5 changed files with 52 additions and 6 deletions
+8 -3
View File
@@ -100,9 +100,13 @@ lib_deps =
lib_ignore = ${esp82xx_defaults.lib_ignore}
IRremoteESP8266
HeatpumpIR
LittleFS(esp8266)
ServoESP32
TinyWireM
ESP8266SdFat
SD(esp8266)
SD
SDFS
LittleFS(esp8266)
monitor_filters = esp8266_exception_decoder
extra_scripts = pre:tools/pio/pre_default_check.py
${extra_scripts_esp8266.extra_scripts}
@@ -265,6 +269,8 @@ lib_ignore = ${esp82xx_common.lib_ignore}
SDFS
SD(esp8266)
LittleFS
ArduinoOTA
ESP8266mDNS
@@ -283,6 +289,7 @@ extends = esp82xx_1M
build_flags = ${esp82xx_1M.build_flags}
-DPLUGIN_BUILD_MINIMAL_OTA
-DDISABLE_SC16IS752_Serial
-DFEATURE_GPIO_USE_ESP8266_WAVEFORM=0
@@ -291,8 +298,6 @@ extends = esp82xx_1M_OTA
board = esp8266_1M128k_OTA
build_flags = ${esp82xx_1M_OTA.build_flags}
lib_ignore = ${esp82xx_1M.lib_ignore}
ArduinoOTA
ESP8266mDNS
; Adding the libs below to the lib_ignore will even increase build size
; Adafruit TCS34725
; RN2xx3 Arduino Library