1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00

ESP8266 disable PIO LDF (#2608)

This commit is contained in:
Otto Winter
2021-10-23 19:44:55 +02:00
committed by GitHub
parent 8e77e3c685
commit de06a781ff
6 changed files with 11 additions and 3 deletions

View File

@@ -142,6 +142,8 @@ CONFIG_SCHEMA = cv.All(
async def to_code(config):
cg.add(esp8266_ns.setup_preferences())
cg.add_platformio_option("lib_ldf_mode", "off")
cg.add_platformio_option("board", config[CONF_BOARD])
cg.add_build_flag("-DUSE_ESP8266")
cg.add_define("ESPHOME_BOARD", config[CONF_BOARD])