mirror of
https://github.com/esphome/esphome.git
synced 2025-11-19 00:05:43 +00:00
[libretiny] Fix lib_ignore handling and ignore incompatible libraries (#10846)
This commit is contained in:
@@ -396,7 +396,7 @@ async def add_includes(includes: list[str]) -> None:
|
||||
async def _add_platformio_options(pio_options):
|
||||
# Add includes at the very end, so that they override everything
|
||||
for key, val in pio_options.items():
|
||||
if key == "build_flags" and not isinstance(val, list):
|
||||
if key in ["build_flags", "lib_ignore"] and not isinstance(val, list):
|
||||
val = [val]
|
||||
cg.add_platformio_option(key, val)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user