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: expose native HSPI as a channel/Bus::SPI driver; retire FASTLED_ALL_PINS_HARDWARE_SPI #4942
The register-level HSPI driver (src/platforms/esp/8266/fastspi_esp8266_hspi.h,
SPI1 on GPIO13/14) is reachable only through the legacy SPIOutput<> dispatch
(spi_output_template.h), and the non-HSPI pair has a define-gated legacy shim
(FASTLED_ALL_PINS_HARDWARE_SPI → fastspi_esp8266.h). There is no ESP8266 BusTraits<Bus::SPI> specialization, so the modern channel API cannot select it.
Evidence
find src -name bus_traits.h → ESP32 has drivers/spi/bus_traits.h; none under esp/8266.
src/platforms/esp/8266/spi_output_template.h:33 — the shim include is behind #if defined(FASTLED_ALL_PINS_HARDWARE_SPI).
src/platforms/esp/8266/README.md — "It is no longer needed for GPIO13/14".
Proposed fix
Add BusTraits<Bus::SPI> backed by ESP8266HSPIOutput, template-selected; the
generic software bit-bang (Bus::BIT_BANG) already covers every other pin pair,
so FASTLED_ALL_PINS_HARDWARE_SPI can be deleted.
Acceptance
add<Bus::SPI, SpiChipsetConfig>() drives an APA102 strip on 13/14 on hardware;
the define is gone and no build needs it.
Activity
feat(esp8266): expose hardware HSPI as Bus::SPI, retire FASTLED_ALL_P…
Merge pull request #4951 from FastLED/feat/4942-esp8266-hspi-bus
Merge pull request #4962 from FastLED/feat/esp8266-spi-loopback
Merge pull request #4963 from FastLED/feat/spi-loopback-miso-fix
feat(autoresearch): esp8266 spiLoopback HSPI capture bench (FastLED#4942
fix(autoresearch): route the HSPI MISO pad so spiLoopback captures on…