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
test(hw): verify DigitalMultiWrite writeByte timing on hardware (follow-up #5314) #5321
Follow-up of #5314 / PR #5317. The DigitalMultiWrite8/16::writeByte rewrite was timed only in simavr (ATmega328P, cycle-exact). The on-device run on the attached ESP board stopped because fbuild deploy prompted to install USB udev rules, so the agent cancelled it.
To do: once the udev rules are installed, run bash autoresearch esp32c6 --rpc-smoke and the on-device perfProbeBitBangCost timing on hardware. Confirm the bitbang timing didn't regress, and record the numbers on PR #5317.
Hardware run done on an ESP32-C6. Both builds pass RPC smoke. Numbers and decision are on #5317: #5317 (comment)
Short version: since #5317, writeByte is 9% slower on the C6 (1.222 → 1.336 µs), and bit-bang per-bit overhead goes from 6.86 to 7.22 µs. That driver already misses WS2812 timing on the C6 either way (~7 µs vs a 1.25 µs bit), so I'm accepting the trade-off for the RAM savings (575 B on AVR, 1276 B on 32-bit) and the AVR speedup.
Activity
zackees commentedon Nov 21, 2026
Hardware run done on an ESP32-C6. Both builds pass RPC smoke. Numbers and decision are on #5317: #5317 (comment)
Short version: since #5317,
writeByteis 9% slower on the C6 (1.222 → 1.336 µs), and bit-bang per-bit overhead goes from 6.86 to 7.22 µs. That driver already misses WS2812 timing on the C6 either way (~7 µs vs a 1.25 µs bit), so I'm accepting the trade-off for the RAM savings (575 B on AVR, 1276 B on 32-bit) and the AVR speedup.