OpenDevicePartnership / OpenDevicePartnership/embedded-services
Missing critical dynamic (runtime) reconfiguration of pins and buses
Open
@jerrysxie is already working on this.
Since Nov 17, 2025.
enhancement
for sync
- Dominant language
- Rust
- Stars
- 23
- Forks
- 53
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 13
Description
Missing a mechanism to swap underlying pins<->buses and pins<->functions at runtime, at an architectural level
Context: Need a method to read board ID and then initialize various peripherals accordingly. Static compilation methods (currently used) are insufficient as they do not offer an existing path for dynamic selection of instances (due to typing).
Cannot simply use Flex<> as this is RT6 specific, need an IO abstraction that isn't tied to generics so that it can be used as a dynamic trait object.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.