Skip to content

Expanding GPIO from 30 to 48 pins to accommodate RP2350B variants#1655

Open
mikepparks wants to merge 8 commits into
OpenStickCommunity:mainfrom
madgooselabs:20260516-gpio2350
Open

Expanding GPIO from 30 to 48 pins to accommodate RP2350B variants#1655
mikepparks wants to merge 8 commits into
OpenStickCommunity:mainfrom
madgooselabs:20260516-gpio2350

Conversation

@mikepparks

Copy link
Copy Markdown
Contributor

This PR will expand the storage of GPIO pin mappings from 30 to 48 pins to support the RP2350B controller variant. Currently, as an example, the Pimoroni Pico Plus 2 config uses this chip, though only a few extra pins beyond the initial 30 are exposed by the board. The code will adapt to any changes to the NUM_BANK0_GPIOS definition in pico-sdk, so adding support for this controller will be dependent on the CMake file definitions in your config's directory.

@mikepparks mikepparks marked this pull request as ready for review May 18, 2026 02:03

@arntsonl arntsonl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we just add the WaveshareRP2350BPlusW to the build and this should be ready!

- OSUMGP-RP2040
- PicoAnn
- PicoFightingBoard
- PimoroniPicoPlus2

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we also want to add WaveshareRP2350BPlusW?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have that in my next commit.

@mikepparks

Copy link
Copy Markdown
Contributor Author

This is only holding on wiring up web config for 48 pin support. It's a bit of a lift since many areas are hard-defined for 30 GPIO, and make assumptions about where analog GPIO are located in relation to those differences.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants