Skip to content

slim bridge: ESP8266 and ESP32 inline-block clockless #4591

Closed as not planned

Description

@zackees

Files:

  • src/platforms/esp/8266/clockless_esp8266.h
  • src/platforms/esp/8266/clockless_block_esp8266.h
  • src/platforms/esp/8266/fastled_esp8266_uart.h
  • src/platforms/esp/32/clockless_block_esp32.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. 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.

  3. 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 on ESP8266. grep -rl "public IChannelDriver" src/platforms finds nothing under esp/8266, and no BusTraits<Bus::…> specialization exists there. FASTLED_HAS_CHANNELS is 0 (it is not in the list at src/FastLED.h ~L109). The legacy files do not reference ChannelData, IChannelDriver or ChannelManager. esp/32/clockless_block_esp32.h is not included anywhere in src/ (ARCHITECTURE.md lists it as "Experimental (not in production)"). It is dead code, so there is nothing to convert; deleting it would be a separate cleanup.

    Board Flash RAM Channel symbols
    esp8266 208,232 B 6,554 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.

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