mirror of
https://github.com/esphome/esphome.git
synced 2024-11-07 09:31:10 +01:00
[RP2040W] Fix WiFi bootloop upon LibreTiny support (#5414)
This commit is contained in:
parent
b07a038bc8
commit
a42788812e
@ -152,6 +152,9 @@ CONFIG_SCHEMA = cv.All(
|
||||
async def to_code(config):
|
||||
cg.add(rp2040_ns.setup_preferences())
|
||||
|
||||
# Allow LDF to properly discover dependency including those in preprocessor
|
||||
# conditionals
|
||||
cg.add_platformio_option("lib_ldf_mode", "chain+")
|
||||
cg.add_platformio_option("board", config[CONF_BOARD])
|
||||
cg.add_build_flag("-DUSE_RP2040")
|
||||
cg.add_define("ESPHOME_BOARD", config[CONF_BOARD])
|
||||
|
Loading…
Reference in New Issue
Block a user