mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
Fix esp32 no longer has Hash internal lib (#2441)
This commit is contained in:
parent
5c06cd8eb3
commit
87358e8843
3 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,6 @@ async def to_code(config):
|
||||||
cg.add_library("Update", None)
|
cg.add_library("Update", None)
|
||||||
elif CORE.is_esp32 and CORE.using_arduino:
|
elif CORE.is_esp32 and CORE.using_arduino:
|
||||||
cg.add_library("Update", None)
|
cg.add_library("Update", None)
|
||||||
cg.add_library("Hash", None)
|
|
||||||
|
|
||||||
use_state_callback = False
|
use_state_callback = False
|
||||||
for conf in config.get(CONF_ON_STATE_CHANGE, []):
|
for conf in config.get(CONF_ON_STATE_CHANGE, []):
|
||||||
|
|
|
@ -342,6 +342,8 @@ async def to_code(config):
|
||||||
|
|
||||||
if CORE.is_esp8266:
|
if CORE.is_esp8266:
|
||||||
cg.add_library("ESP8266WiFi", None)
|
cg.add_library("ESP8266WiFi", None)
|
||||||
|
elif CORE.is_esp32 and CORE.using_arduino:
|
||||||
|
cg.add_library("WiFi", None)
|
||||||
|
|
||||||
cg.add_define("USE_WIFI")
|
cg.add_define("USE_WIFI")
|
||||||
|
|
||||||
|
|
|
@ -89,7 +89,6 @@ framework = arduino
|
||||||
board = nodemcu-32s
|
board = nodemcu-32s
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${common:arduino.lib_deps}
|
${common:arduino.lib_deps}
|
||||||
Hash ; ota (Arduino built-in)
|
|
||||||
esphome/AsyncTCP-esphome@1.2.2 ; async_tcp
|
esphome/AsyncTCP-esphome@1.2.2 ; async_tcp
|
||||||
build_flags =
|
build_flags =
|
||||||
${common:arduino.build_flags}
|
${common:arduino.build_flags}
|
||||||
|
|
Loading…
Reference in a new issue