mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
Adds GxEPD2 framebuffer capture to the screenshot tool, extending the existing OLED support to the Wio Tracker L1 e-ink variant. Key changes: - GxEPD2-patch: patched copy of GxEPD2_BW.h exposing getBuffer/getBufferSize - GxEPDDisplay: override getBuffer/getBufferSize/getDisplayType/ screenshotWidth/screenshotHeight/screenshotRotation using GxEPD2's own reported visible dimensions (WIDTH_VISIBLE, not physical WIDTH) and live rotation value - DisplayDriver: virtual screenshot interface so no C-style casts needed - Protocol: 11-byte header with display_type, rotation, uint16 LE width/height/chunk_idx/total_chunks (eliminates truncation for panels >255px) - screenshot.py: full rot 0-3 decoder for GxEPD2 buffer layout; ERR frame checked before length so device errors surface correctly; buffer-size sanity check using panel-aware expected size Conflict resolution: kept feat/eink-screenshot protocol and decoder (11-byte header, e-ink decode) over the OLED-only 5-byte version on wio-unified; battery and joystick fixes from wio-unified kept intact. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>