mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-27 19:57:38 +00:00
[Build] Reduce build size by not including ESP8266mDNS lib at all
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user