AEFeinstein/Super-2024-Swadge-FW

Button Handling with CH32v003

Open

#651 opened on Aug 7, 2026

 (0 comments) (0 reactions) (0 assignees)C (21 forks)auto 404
Help WantedUtility

Repository metrics

Stars
 (32 stars)
PR merge metrics
 (PR metrics pending)

Description

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

Contributor guide