Skip to content

Conversation

SeongGino
Copy link
Member

@SeongGino SeongGino commented May 20, 2025

Pin capabilities allows a dev to define what functions a pin can apply, with support for overrides based on the board codename if any are available (rn used for the Pico boards) as its pins map seems to contradict the datasheet.

The main benefit is to futureproof in RP2350-series support, with the bonus that the ESP fork firmware can also be supported (with some added as of TeamOpenFIRE/OpenFIRE-Boards#5). ESP currently doesn't have a working pin capabilities descriptor nor any overrides, so for now the ESP boards are disabled in the previewer and will crash when syncing an ESP fork'd board atm. That part should be the responsibility of the fork maintainer.

At least for RP2040 devices, to the user, current pin mapping bits functionality remains the same as before - so I2C channel clashes and mismatches will still be detected as appropriate. This part could probably be disabled for ESP devices since they seem to be able to remap I2C to whichever pins (again, details are ultimately up to the fork's maintainer).

SeongGino added 2 commits May 19, 2025 16:20
…'s pin capabilities maps; add initial support requirements for RP2350 and ESP32 boards.
@SeongGino SeongGino merged commit e44f3da into TeamOpenFIRE:OpenFIRE-dev May 20, 2025
8 checks passed
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.

1 participant