FeralAI / GP2040

Gamepad firmware for Raspberry Pi Pico and other RP2040 microcontrollers supporting Nintendo Switch, XInput and DirectInput
https://gp2040.info
MIT License
577 stars 125 forks source link

Web configurator pin restriction due to Boards.json #60

Open sojor opened 2 years ago

sojor commented 2 years ago

On PCB with Flatbox pinout certain used pins are restricted from being set within the web configurator. This corresponds with www/src/Data/Boards.json. Removal of said restrictions or override possibility (for validation errors) could help.

image

TrottPilgrim commented 2 years ago

I also experienced some issues with the web configurator because of this. My DIY board uses the Adafruit KB2040 as its microcontroller and it uses pin 29,

jbarket commented 2 years ago

For now I'm going to remove the board restrictions.

The longer version of this is that right now we don't have a mechanism in place for sending the proper board to the configurator. There are options there, but it's all pretty rough, and I'm not convinced it would work without other code changes. I'm going to make a ticket explaining where we are and how to take it forward from here.

Either way, this restriction will be removed in main shortly.