-
-
Notifications
You must be signed in to change notification settings - Fork 43.4k
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.