sl-firmware 90ee2324f5 fix: correct display GPIO pins and add SAULT+battery HUD
Two bugs causing blank display on both ESP32 Balance boards:

1. Wrong GPIO pins: RST was GPIO12 (should be GPIO14) and BL was GPIO40
   (should be GPIO2) per Waveshare ESP32-S3-Touch-LCD-1.28 schematic.
   The previous "correction" from GPIO2→GPIO40 was itself erroneous.

2. No HUD rendering: ota_display_task only handled OTA overlay states and
   drew nothing in idle mode. Added draw_hud_idle() that clears the screen
   on first call, draws "SAULT" at scale=4 centred on the 240×240 display,
   and updates battery voltage (from g_vesc[0].voltage_x10) at 5 Hz.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 20:54:21 -04:00
2026-02-28 11:58:23 -05:00
Description
SaltyLab self-balancing bot firmware (STM32F722)
11 MiB
Languages
Python 67.1%
C 11.5%
JavaScript 9.2%
OpenSCAD 7.7%
HTML 1.5%
Other 2.9%