qmk/qmk_firmware

[Bug] Crash when using GP26-29 as keyboard matrix pins on RP2040

Open

#25 930 ouverte le 4 janv. 2026

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)C (43 867 forks)batch import
bughelp wanted

Métriques du dépôt

Stars
 (20 368 stars)
Métriques de merge PR
 (Merge moyen 20j 9h) (27 PRs mergées en 30 j)

Description

Describe the Bug

I built keyboards using several development boards with the RP2040 as the main controller. When I enable any one of GP26-GP29 as a matrix pin, the compilation completes successfully, but after flashing the firmware to the board, the program crashes immediately and the board reboots into the bootloader. The strangest part is that this issue does not occur on all of my boards—even with two identical RP2040-based boards, one crashes every time I flash the firmware, while the other works perfectly without any issues. Since the crash only happens when GP26 to GP29 are enabled, I suspect there is a conflict between the ADC and GPIO during the initialization phase. I have no idea how to troubleshoot or resolve this problem, so I would greatly appreciate any help or guidance you can provide.

Guide contributeur