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: I2S output engine (clockless/parallel via the I2S peripheral) #4943
The ESP8266 has an I2S peripheral but FastLED ships no I2S output driver for
it. The clockless path is CPU-cycle bit-banging (clockless_esp8266.h) plus the
blockless multi-lane variant (clockless_block_esp8266.h). ESP32 has a full I2S
engine that drives up to 24 strips in parallel
(src/platforms/esp/32/drivers/i2s/).
src/platforms/esp/32/drivers/i2s/clockless_i2s_esp32.h exists for ESP32.
Proposed fix
A template driver selected through BusTraits/DefaultBus (a candidate default
for the clockless bus on ESP8266), so it dead-strips on builds that don't use it.
Note the ESP8266 I2S FIFO/register set is not the ESP32 one — this is new code,
not a port.
Acceptance
On-device WS2812 frame driven from I2S (CPU free during the transfer), with bus/driver reported by the channel manager; size-proven to link only when used.
Activity
Merge pull request #4957 from FastLED/feat/4943-esp8266-i2s-engine
Merge pull request #4961 from FastLED/feat/i2s-loopback-fix
feat(esp8266): native I2S output engine (Bus::FLEX_IO), RX-validated (F…
feat(esp8266): fl::RxChannel via the I2S RX hardware receiver (FastLE…
test(esp8266): prove the I2S TX->RX capture loopback in software (Fas…
feat(autoresearch): esp8266 i2sLoopback bench (FastLED#4943/FastLED#4945