mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 15:08:10 +01:00
Fix AsyncTCP compilation on ESP32 with Arduino breaking change (#334)
This commit is contained in:
parent
dc71d11a21
commit
11c38ca4e8
1 changed files with 2 additions and 1 deletions
|
@ -279,10 +279,11 @@ def gather_lib_deps():
|
||||||
if CORE.is_esp32:
|
if CORE.is_esp32:
|
||||||
lib_deps |= {
|
lib_deps |= {
|
||||||
'Preferences', # Preferences helper
|
'Preferences', # Preferences helper
|
||||||
|
'AsyncTCP@1.0.1', # Pin AsyncTCP version
|
||||||
}
|
}
|
||||||
# Manual fix for AsyncTCP
|
# Manual fix for AsyncTCP
|
||||||
if CORE.config[CONF_ESPHOMEYAML].get(CONF_ARDUINO_VERSION) == ARDUINO_VERSION_ESP32_DEV:
|
if CORE.config[CONF_ESPHOMEYAML].get(CONF_ARDUINO_VERSION) == ARDUINO_VERSION_ESP32_DEV:
|
||||||
lib_deps.add('https://github.com/me-no-dev/AsyncTCP.git#idf-update')
|
lib_deps.add('AsyncTCP@1.0.3')
|
||||||
lib_deps.discard('AsyncTCP@1.0.1')
|
lib_deps.discard('AsyncTCP@1.0.1')
|
||||||
# avoid changing build flags order
|
# avoid changing build flags order
|
||||||
return list(sorted(x for x in lib_deps if x))
|
return list(sorted(x for x in lib_deps if x))
|
||||||
|
|
Loading…
Reference in a new issue