Feature request: Hardware troubleshooting shield
For hardware troubleshooting, it would be convenient to have a shield in a similar vein to settings_reset which behaves as follows:
- Configures all GPIO pins as input with a high pullup
- Whenever any GPIO pin is pulled low (connected to ground), set all other GPIO pins to low while the triggered GPIO pin is low
Because some boards have shorts between GPIO pins and reset, there needs to be a mechanism in devicetree to exclude some GPIO pins from the above behaviour, rather leaving them hanging.
Maybe we can start with a simpler version without 2.? e.g. a Pro Micro version with direct pins mapping to a macro each that prints the pro micro pin number. And another for the Xiao interconnect perhaps.
That would probably be a better approach entirely - somehow the possibility of using the usb connection completely slipped in my mind.