mirror of
https://github.com/esphome/esphome.git
synced 2026-06-24 11:25:35 +00:00
[fastled_base] Fix RMT5 intr_priority conflict (#17072)
This commit is contained in:
@@ -50,6 +50,11 @@ async def new_fastled_light(config):
|
|||||||
ref="d44c800a9e876a8394caefc2ce4915dd96dac77b",
|
ref="d44c800a9e876a8394caefc2ce4915dd96dac77b",
|
||||||
)
|
)
|
||||||
cg.add_library("SPI", None)
|
cg.add_library("SPI", None)
|
||||||
|
# FastLED's RMT5 driver hard-codes intr_priority=3, which conflicts with
|
||||||
|
# esphome's RMT channels (remote_transmitter etc., priority 0): the IDF
|
||||||
|
# driver rejects FastLED's channel and show() then hangs ~3s with no
|
||||||
|
# output. Override to 0 so it shares the interrupt. See #17063.
|
||||||
|
cg.add_build_flag("-DFL_RMT5_INTERRUPT_LEVEL=0")
|
||||||
else:
|
else:
|
||||||
cg.add_library("fastled/FastLED", "3.9.16")
|
cg.add_library("fastled/FastLED", "3.9.16")
|
||||||
await light.register_light(var, config)
|
await light.register_light(var, config)
|
||||||
|
|||||||
Reference in New Issue
Block a user