mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-01 10:21:59 +00:00
GxEPD2 sends the panel RAM a byte at a time; on the nRF52's SPIM the per-call overhead dominates, and an 800x480 partial refresh writes the whole 48 KB several times. GxEPD2_426_GDEQ0426T82_Fast overrides the three image writes to send each row in one transfer() call, falling back to the stock path for the cases it doesn't cover (first write, mirror_y, PROGMEM). Byte-for-byte the same data as the stock driver. Opt-in per env: -D EINK_FAST_WRITES=1, and EINK_SPI_HZ (default 4 MHz, 8 MHz here, SPIM2's ceiling). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KxAZVAbhhYr18Dd4guTQM1