AEFeinstein/Super-2024-Swadge-FW

Button Handling with CH32v003

Ouverte

#651 ouverte le 7 août 2026

 (0 commentaire) (0 réaction) (0 personne assignée)C (21 forks)auto 404
Help WantedUtility

Métriques du dépôt

Stars
 (32 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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

Guide contributeur