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
perf(esp32dev): APA102 still links the I2S clockless peripheral (~2.2 KB flash, 272 B RAM) after #4793 #4809
After #4793, an APA102 sketch on esp32dev no longer links the wave8 clockless pipeline. It still links the I2S clockless peripheral, because createI2sEsp32DevEngine() constructs I2sPeripheralEsp32DevEsp eagerly for both I2S ports:
SPI batches go to the separate createI2sSpiEngine() delegate, so in an SPI-only program this peripheral is never initialized.
Proposed fix
Create the clockless peripheral lazily inside the enabled clockless path (showClocklessBatch), or through a factory that BusTraits<FLEX_IO>::enableClockless() installs, so SPI-only programs never name it.
Acceptance
esp32dev APA102 drops about 2.2 KB flash and about 272 B RAM.
setExclusiveDriver<Bus::FLEX_IO> clockless sketches are unchanged.
Activity
fix(esp32dev): lazy I2S peripheral review fixes (#4809)
perf(esp32dev): acquire the I2S clockless peripheral lazily (#4809) (#…