AEFeinstein/Super-2024-Swadge-FW

Button Handling with CH32v003

Aperta

#651 aperta il 7 ago 2026

 (0 commenti) (0 reazioni) (0 assegnatari)C (21 fork)auto 404
Help WantedUtility

Metriche repository

Star
 (32 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Summary

Rework hdw-btn and related hw API for the CH32 to do the button processing instead of the ESP32.

Technical Spec

Currently the button info is a bitmask starting at PB_UP. The GPIO is defined in initButtons. I'm not sure we want to tear out the ESP32 GPIO support for the buttons, but perhaps we can add an option for the CH32? I dunno, you're the real programmer, I just work here.

UI

NA

How to Test

Guida contributor