Skip to content

slim bridge: Teensy 3.x / LC / K20 / K66 / KL26 clockless #4592

Closed as not planned

Description

@zackees

Files:

  • src/platforms/arm/teensy/teensy31_32/: clockless_arm_k20, clockless_block_arm_k20, octows2811_controller, smartmatrix_t3, ws2812serial_controller
  • src/platforms/arm/teensy/teensy36/: clockless_arm_k66, clockless_block_arm_k66
  • src/platforms/arm/teensy/teensy_lc/clockless_arm_kl26.h
  • src/platforms/arm/k20/*, src/platforms/arm/k66/*, src/platforms/arm/kl26/clockless_arm_kl26.h

Direct DriverTraits, per the policy sub-issue.

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

    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.

  4. zackees commented on Sep 25, 2026

    @zackees
    MemberAuthor

    Measured on origin/master e61aae4f0d, Blink, bash bloat <board> --build. The channel-symbol check greps .build/symbols/<board>/report.json for ChannelManager, fl::Channel::, ChannelData and IChannelDriver.

    Channel driver: none for Teensy 3.x/LC. The only Teensy channel engines are under teensy4_common/drivers (FlexIO, ObjectFLED, LPUART), which are i.MXRT-only and tracked in #4588/#4599. FASTLED_HAS_CHANNELS is 0 (FL_IS_TEENSY_4X only). There are no channel references in teensy31_32, teensy36, teensy_lc, k20, k66 or kl26. OctoWS2811, SmartMatrix and WS2812Serial are wrappers around third-party libraries, not FastLED channel drivers.

    Board Flash RAM Channel symbols
    teensy31 11,672 B 4,219 B none
    teensy36 33,974 B 4,755 B none
    teensylc 14,196 B 2,933 B none

    Decision: keep as-is and close as not planned (per the #4601 rule). There is no channel engine to bridge onto, and no channel code is linked. The only option left is a "Direct" DriverTraits reshuffle of the same timing-critical bit-bang code. It would not save flash and could not be hardware-validated. Reopen if a hardware channel engine (DMA, PIO-like or UART) lands for this family.

  5. 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