[Build] Reduce build size by not including ESP8266mDNS lib at all

This commit is contained in:
TD-er
2023-01-07 12:08:42 +01:00
parent 5e76c21592
commit 5d44224191
2 changed files with 10 additions and 8 deletions
+4 -8
View File
@@ -232,6 +232,7 @@ build_flags = -DBUILD_NO_DEBUG
-DFEATURE_SD=0
-Os
-s
-DNO_GLOBAL_MDNS
${esp82xx_common.build_flags}
extra_scripts = ${esp82xx_common.extra_scripts}
lib_ignore = ${esp82xx_common.lib_ignore}
@@ -250,24 +251,19 @@ extends = esp82xx_1M
board = esp8266_1M128k
build_flags = ${esp82xx_1M.build_flags}
extra_scripts = ${esp82xx_1M.extra_scripts}
lib_ignore = ${esp82xx_1M.lib_ignore}
;;; Minimal ***********************************************************
; Minimal build size for OTA ;
; *********************************************************************
[esp82xx_1M_OTA]
[esp8266_1M_OTA]
extends = esp82xx_1M
board = esp8266_1M128k_OTA
build_flags = ${esp82xx_1M.build_flags}
-DPLUGIN_BUILD_MINIMAL_OTA
-DDISABLE_SC16IS752_Serial
-DFEATURE_GPIO_USE_ESP8266_WAVEFORM=0
[esp8266_1M_OTA]
extends = esp82xx_1M_OTA
board = esp8266_1M128k_OTA
build_flags = ${esp82xx_1M_OTA.build_flags}
lib_ignore = ${esp82xx_1M.lib_ignore}
; Adding the libs below to the lib_ignore will even increase build size
; Adafruit TCS34725