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
{{ message }}
Repository navigation
ESP8266: UART WS2812 driver should be template-selected, not FASTLED_ESP8266_UART #4944
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
Merge pull request #4952 from FastLED/feat/4944-esp8266-uart-bus
feat(esp8266): UART WS2812 engine as Bus::UART; retire FASTLED_ESP826…