8266: revert to ESPAsyncWebServerWLED @ 2.2.1
preventive workaround related to upstream #5136 * all 8266 builds inherit lib_ignore form main 8266 env
This commit is contained in:
@@ -297,14 +297,23 @@ build_flags =
|
||||
-D USERMOD_AUDIOREACTIVE
|
||||
-D NON32XFER_HANDLER ;; ask forgiveness for PROGMEM misuse
|
||||
-D WLED_DISABLE_PARTICLESYSTEM2D
|
||||
|
||||
|
||||
;; special library dependencies for 8266 (workaround for upsteam #5136) - replaces env.lib_deps
|
||||
lib8266_deps =
|
||||
fastled/FastLED @ 3.6.0 ;; default from upstream WLED
|
||||
IRremoteESP8266 @ 2.8.2
|
||||
https://github.com/Aircoookie/ESPAsyncWebServer.git#v2.2.1 ;; use proven version for 8266
|
||||
bitbank2/AnimatedGIF@^1.4.7
|
||||
https://github.com/Aircoookie/GifDecoder#bc3af18
|
||||
|
||||
lib_deps =
|
||||
#https://github.com/lorol/LITTLEFS.git
|
||||
ESPAsyncTCP @ 1.2.2
|
||||
ESPAsyncUDP
|
||||
;; makuna/NeoPixelBus @ 2.6.9 ;; WLEDMM use if you have problems with 2.7.5
|
||||
makuna/NeoPixelBus @ 2.7.5
|
||||
${env.lib_deps}
|
||||
${esp8266.lib8266_deps} ;; use proven library versions for 8266
|
||||
lib_ignore =
|
||||
|
||||
;; compatibilty flags - same as 0.14.0 which seems to work better on some 8266 boards. Not using PIO_FRAMEWORK_ARDUINO_MMU_CACHE16_IRAM48
|
||||
build_flags_compat =
|
||||
@@ -562,6 +571,7 @@ board_build.ldscript = ${common.ldscript_4m1m}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=ESP8266 #-DWLED_DISABLE_2D
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
monitor_filters = esp8266_exception_decoder
|
||||
|
||||
[env:nodemcuv2_160]
|
||||
@@ -577,6 +587,7 @@ board_build.ldscript = ${common.ldscript_2m512k}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=ESP02
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
|
||||
[env:esp8266_2m_160]
|
||||
extends = env:esp8266_2m
|
||||
@@ -607,6 +618,7 @@ board_build.ldscript = ${common.ldscript_4m1m}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp8266}
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
|
||||
[env:d1_mini]
|
||||
board = d1_mini
|
||||
@@ -617,6 +629,7 @@ board_build.ldscript = ${common.ldscript_4m1m}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp8266}
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
monitor_filters = esp8266_exception_decoder
|
||||
|
||||
[env:heltec_wifi_kit_8]
|
||||
@@ -627,6 +640,7 @@ board_build.ldscript = ${common.ldscript_4m1m}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp8266}
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
|
||||
[env:h803wf]
|
||||
board = d1_mini
|
||||
@@ -636,6 +650,7 @@ board_build.ldscript = ${common.ldscript_4m1m}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp8266} -D LEDPIN=1 -D WLED_DISABLE_INFRARED
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
|
||||
;; two aliases for lazy users
|
||||
[env:esp32dev]
|
||||
@@ -824,6 +839,7 @@ board_build.ldscript = ${common.ldscript_1m128k}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_OTA
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
|
||||
[env:esp8285_H801]
|
||||
board = esp8285
|
||||
@@ -833,6 +849,7 @@ board_build.ldscript = ${common.ldscript_1m128k}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_OTA
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
|
||||
[env:d1_mini_5CH_Shojo_PCB]
|
||||
board = d1_mini
|
||||
@@ -842,6 +859,7 @@ board_build.ldscript = ${common.ldscript_4m1m}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp8266} -D WLED_USE_SHOJO_PCB
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# DEVELOPMENT BOARDS
|
||||
@@ -856,6 +874,7 @@ board_build.ldscript = ${common.ldscript_4m1m}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp8266} ${common.debug_flags}
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
|
||||
[env:d1_mini_ota]
|
||||
board = d1_mini
|
||||
@@ -868,6 +887,7 @@ board_build.ldscript = ${common.ldscript_4m1m}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp8266}
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
|
||||
[env:anavi_miracle_controller]
|
||||
board = d1_mini
|
||||
@@ -877,6 +897,7 @@ board_build.ldscript = ${common.ldscript_4m1m}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp8266} -D LEDPIN=12 -D IRPIN=-1 -D RLYPIN=2
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
|
||||
[env:lolin_s2_mini]
|
||||
platform = ${esp32s2.platform}
|
||||
@@ -974,6 +995,7 @@ platform = ${common.platform_wled_default}
|
||||
board_build.ldscript = ${common.ldscript_2m512k}
|
||||
build_flags = ${common.build_flags_esp8266} -D LEDPIN=3 -D BTNPIN=1
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
|
||||
[env:sp511e]
|
||||
board = esp_wroom_02
|
||||
@@ -981,6 +1003,7 @@ platform = ${common.platform_wled_default}
|
||||
board_build.ldscript = ${common.ldscript_2m512k}
|
||||
build_flags = ${common.build_flags_esp8266} -D LEDPIN=3 -D BTNPIN=2 -D IRPIN=5 -D WLED_MAX_BUTTONS=3
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
|
||||
[env:Athom_RGBCW] ;7w and 5w(GU10) bulbs
|
||||
board = esp8285
|
||||
@@ -991,6 +1014,7 @@ build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=ESP8266 -D BTNPIN=-1 -D RLYPIN=-1 -D DATA_PINS=4,12,14,13,5
|
||||
-D DEFAULT_LED_TYPE=TYPE_ANALOG_5CH -D WLED_DISABLE_INFRARED -D WLED_MAX_CCT_BLEND=0
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
|
||||
|
||||
[env:Athom_15w_RGBCW] ;15w bulb
|
||||
@@ -1002,6 +1026,7 @@ build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=ESP8266 -D BTNPIN=-1 -D RLYPIN=-1 -D DATA_PINS=4,12,14,5,13
|
||||
-D DEFAULT_LED_TYPE=TYPE_ANALOG_5CH -D WLED_DISABLE_INFRARED -D WLED_MAX_CCT_BLEND=0 -D WLED_USE_IC_CCT
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
|
||||
|
||||
[env:Athom_3Pin_Controller] ;small controller with only data
|
||||
@@ -1012,6 +1037,7 @@ board_build.ldscript = ${common.ldscript_2m512k}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=ESP8266 -D BTNPIN=0 -D RLYPIN=-1 -D LEDPIN=1 -D WLED_DISABLE_INFRARED
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
|
||||
|
||||
[env:Athom_4Pin_Controller] ; With clock and data interface
|
||||
@@ -1022,6 +1048,7 @@ board_build.ldscript = ${common.ldscript_2m512k}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=ESP8266 -D BTNPIN=0 -D RLYPIN=12 -D LEDPIN=1 -D WLED_DISABLE_INFRARED
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
|
||||
|
||||
[env:Athom_5Pin_Controller] ;Analog light strip controller
|
||||
@@ -1032,6 +1059,7 @@ board_build.ldscript = ${common.ldscript_2m512k}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=ESP8266 -D BTNPIN=0 -D RLYPIN=-1 DATA_PINS=4,12,14,13 -D WLED_DISABLE_INFRARED
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
|
||||
|
||||
[env:MY9291]
|
||||
@@ -1042,6 +1070,7 @@ board_build.ldscript = ${common.ldscript_1m128k}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=ESP01 -D WLED_DISABLE_OTA -D USERMOD_MY9291
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# codm pixel controller board configurations
|
||||
@@ -1056,6 +1085,7 @@ board_build.ldscript = ${common.ldscript_2m512k}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp8266}
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
|
||||
[env:codm-controller-0_6-rev2]
|
||||
board = esp_wroom_02
|
||||
@@ -1065,6 +1095,7 @@ board_build.ldscript = ${common.ldscript_4m1m}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp8266}
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# EleksTube-IPS
|
||||
@@ -1598,6 +1629,7 @@ lib_deps = ${esp8266.lib_deps}
|
||||
OneWire@~2.3.5 ; used for USERMOD_FOUR_LINE_DISPLAY and USERMOD_DALLASTEMPERATURE
|
||||
olikraus/U8g2 @ ^2.28.8 ; used for USERMOD_FOUR_LINE_DISPLAY
|
||||
ElectronicCats/MPU6050 @ 0.6.0 ; used for USERMOD_MPU6050_IMU
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
; RAM: [====== ] 63.0% (used 51608 bytes from 81920 bytes)
|
||||
; Flash: [========= ] 94.9% (used 991039 bytes from 1044464 bytes)
|
||||
|
||||
@@ -1628,6 +1660,7 @@ lib_deps = ${esp8266.lib_deps}
|
||||
paulstoffregen/OneWire@~2.3.7 ;WLEDMM Softhack, we need this as well (instead of 2.3.5)?
|
||||
olikraus/U8g2 # @~2.33.15
|
||||
Wire ; WLEDMM ewowi, needed?
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
|
||||
[env:esp8266pro_16MB_S]
|
||||
extends = env:d1_mini
|
||||
@@ -1700,6 +1733,7 @@ lib_deps = ${esp8266.lib_deps}
|
||||
OneWire@~2.3.5 ; used for USERMOD_FOUR_LINE_DISPLAY and USERMOD_DALLASTEMPERATURE
|
||||
olikraus/U8g2 @ ^2.28.8 ; used for USERMOD_FOUR_LINE_DISPLAY
|
||||
ElectronicCats/MPU6050 @ 0.6.0 ; used for USERMOD_MPU6050_IMU
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
; RAM: [====== ] 62.9% (used 51508 bytes from 81920 bytes)
|
||||
; Flash: [==========] 96.2% (used 1005115 bytes from 1044464 bytes)
|
||||
|
||||
@@ -1723,7 +1757,8 @@ build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_OTA
|
||||
;; -D WLED_DISABLE_MQTT
|
||||
;; -D WLED_DISABLE_2D ;; last resort to reduce flash size
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
|
||||
lib_ignore = ${esp8266.lib_ignore}
|
||||
IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
|
||||
; RAM: [====== ] 60.3% (used 49408 bytes from 81920 bytes)
|
||||
; Flash: [==========] 98.6% (used 880331 bytes from 892912 bytes)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user