Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin remapping in Peripheral page webconfig fixes #696

Conversation

bsstephan
Copy link
Contributor

This fixes issues with reclaiming or reserving pins on the Pin Mappings page when configuring peripherals on the Peripherals Mapping page. This makes it so that pins can be set to unused if a peripheral (e.g. I2C0 for a disconnected display) has its pins set to "Unset", freeing up the pins for general usage on the Pin Mappings page. Vice versa is true, if pins are assigned to a peripheral, now they are properly reserved in the core pin mappings.

This also removes some deprecated code and marks the old peripheral pins, pre-manager, as deprecated.

this also deprecates old fields replaced by peripherals, which no longer
need to be touched in webconfig/be present in the website
Copy link
Contributor

@arntsonl arntsonl left a comment

Choose a reason for hiding this comment

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

Lots of good cleaning here!

@arntsonl arntsonl merged commit 7836ce1 into OpenStickCommunity:main Dec 23, 2023
67 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.

2 participants