Skip to content

ESP8266: UART WS2812 driver should be template-selected, not FASTLED_ESP8266_UART #4944

Closed

Description

@zackees

Problem

The UART1 WS2812 driver (src/platforms/esp/8266/fastled_esp8266_uart.{h,cpp.hpp})
is compiled in but only reachable when FASTLED_ESP8266_UART is defined before
FastLED.h (src/platforms/esp/8266/fastled_esp8266.h, the #ifdef around the
include). That is exactly the code-enabling define the tracking issue bans.

Proposed fix

Expose the engine as a channel driver (Bus::UART) selected by template; its TU
then link-eliminates on builds that don't name it.

Acceptance

A sketch can select the UART engine with no define; a build that never references
it links no UART-driver symbols (verified with bash bloat).

Activity

  1. added
    type: feature
    priority: low
    platform: esp8266
    area: drivers
    on Oct 27, 2026
  2. added a commit that references this issue on Oct 28, 2026
  3. moved this from Triage to Done in FastLED Trackeron Oct 28, 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

    area: driversplatform: esp8266priority: lowtype: feature

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions