Skip to content

slim bridge: Teensy 4.x remaining controllers (BitBang, inline-block, OctoWS2811) #4588

Description

@zackees

Files, in src/platforms/arm/teensy/teensy4_common/:

  • clockless.h (ObjectFLED proxy)
  • clockless_arm_mxrt1062.h (BitBang)
  • block_clockless_arm_mxrt1062.h
  • octows2811_controller.h

and in src/platforms/arm/mxrt1062/: the same three.

ChannelEngineObjectFLED exists, so the ObjectFLED path is a Bridged candidate; it reads the pixel-format tag (A5). Decide Bridged vs Direct for the others.

Part of #4580. Follow the slim bridge format, the gap register (A1-A12) and the testing plan (T0-T4) there. Acceptance: the T1 conformance suite passes, a same-SHA bash bloat before/after is recorded, and AutoResearch evidence is included where hardware is available.

Activity

  1. zackees commented on Sep 25, 2026

    @zackees
    MemberAuthor

    Exempt per the decision recorded in #4590: this platform's legacy clockless path links no channel code, so the slim bridge has nothing to remove, and bridging would add ChannelManager. Reopen if its legacy controller adopts a channel driver.

  2. moved this from Triage to Done in FastLED Trackeron Sep 25, 2026
  3. zackees commented on Sep 25, 2026

    @zackees
    MemberAuthor

    Follow-up filed as #4599: Teensy 4.x and RP2040/2350 do have channel engines, so the exemption is being re-evaluated by measurement there.

  4. zackees commented on Sep 25, 2026

    @zackees
    MemberAuthor

    Reopened under follow-up meta #4601. The exemption in #4590 is being re-evaluated per platform by measurement rather than applied as a blanket rule.

  5. zackees commented on Sep 25, 2026

    @zackees
    MemberAuthor

    Reopened for slim-bridge conversion of the remaining Teensy 4.x controllers (maintainer decision). The default clockless path (ObjectFLED) and clocked SPI are already on the slim bridge (#4617, #4624, #4629, #4630). Still bypassing it:

    • ClocklessController_BitBang: src/platforms/arm/teensy/teensy4_common/clockless_arm_mxrt1062.h (and the src/platforms/arm/mxrt1062/ copy)
    • FlexibleInlineBlockClocklessController: block_clockless_arm_mxrt1062.h (both copies)
    • COctoWS2811Controller: octows2811_controller.h, a wrapper around the third-party OctoWS2811 library. Decide whether to bridge it or leave it as-is, and document the choice.

    Target: fl::SlimBridgeController over the matching Teensy engine: ObjectFLED for bit-bang, FlexIO or ObjectFLED multi-lane for the inline-block path. Measure bash bloat teensy41 before and after. Hardware validation is deferred to #4623.

  6. changed the title [-]slim bridge: Teensy 4.x clockless (ObjectFLED proxy + MXRT1062 bit-bang/block/OctoWS2811)[/-] [+]slim bridge: Teensy 4.x remaining controllers (BitBang, inline-block, OctoWS2811)[/+] on Sep 25, 2026
  7. moved this from Done to Triage in FastLED Trackeron Sep 25, 2026
  8. moved this from Triage to Done in FastLED Trackeron Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions