You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Investigate whether the upstream PaulStoffregen ObjectFLED library can be extended to support ISR-chunked streaming, and if so, add the conversion to FastLED's Bus::OBJECT_FLED driver.
Why this is investigation-first
Per #3023's body: "ObjectFLED async — library is synchronous-by-design; non-trivial to convert."
ObjectFLED's internal architecture is timer + DMA per pin where the timer's compare events drive the DMA. Converting to ISR-chunked streaming requires either:
Upstream library changes — add a half/done-transfer interrupt + ring-buffer refill state machine to ObjectFLED itself. PaulStoffregen's call.
FastLED-side fork — maintenance fork of ObjectFLED with the streaming additions. Adds long-term maintenance cost.
Bypass ObjectFLED entirely — implement a new clockless driver for the same any-pin pool using a different DMA scheme. Possibly via FlexPWM or repurposing FTM modules.
Questions to answer before implementing
Read ObjectFLED source: does the library's timer + DMA architecture expose half/done interrupts at all?
Check ObjectFLED's upstream issue tracker for prior async-streaming discussions.
If upstream is willing: PR ObjectFLED itself with the streaming mode (preferred path).
If not: decide between fork, bypass, or "stays in sync block mode" (acceptable outcome — ObjectFLED's any-pin sync behavior is already useful).
Acceptance
If implementation proceeds:
ObjectFLED's any-pin clockless strips can run concurrently across N pins with no CPU wait() per frame.
Cross-driver wave8 byte-equivalence test confirms bit-identical wire output vs sync mode.
bash autoresearch teensy40 --object-fled continues to pass.
If investigation rules it out:
Document the finding as a closing comment.
ObjectFLED's sync mode remains the only supported behavior; users who need async take FlexIO or LPUART instead.
Closing as deferred future work. ObjectFLED ISR-chunked streaming feasibility study. ObjectFLED is upstream-managed (third-party library, FastLED maintains a vendored fork); streaming work would either need upstream coordination or a divergent fork. No current user blocker for sync mode. Tracked at meta level under #3023.
Activity
zackees commentedon Jun 27, 2026
Closing as deferred future work. ObjectFLED ISR-chunked streaming feasibility study. ObjectFLED is upstream-managed (third-party library, FastLED maintains a vendored fork); streaming work would either need upstream coordination or a divergent fork. No current user blocker for sync mode. Tracked at meta level under #3023.