Fix esp32 no longer has Hash internal lib (#2441)

This commit is contained in:
Otto Winter 2021-10-04 16:14:51 +02:00 committed by GitHub
parent 5c06cd8eb3
commit 87358e8843
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 2 deletions

View file

@ -102,7 +102,6 @@ async def to_code(config):
cg.add_library("Update", None)
elif CORE.is_esp32 and CORE.using_arduino:
cg.add_library("Update", None)
cg.add_library("Hash", None)
use_state_callback = False
for conf in config.get(CONF_ON_STATE_CHANGE, []):

View file

@ -342,6 +342,8 @@ async def to_code(config):
if CORE.is_esp8266:
cg.add_library("ESP8266WiFi", None)
elif CORE.is_esp32 and CORE.using_arduino:
cg.add_library("WiFi", None)
cg.add_define("USE_WIFI")

View file

@ -89,7 +89,6 @@ framework = arduino
board = nodemcu-32s
lib_deps =
${common:arduino.lib_deps}
Hash ; ota (Arduino built-in)
esphome/AsyncTCP-esphome@1.2.2 ; async_tcp
build_flags =
${common:arduino.build_flags}