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

Dynamic-pin / type-erased pin type #5

Open
ryankurte opened this issue Apr 1, 2021 · 1 comment
Open

Dynamic-pin / type-erased pin type #5

ryankurte opened this issue Apr 1, 2021 · 1 comment

Comments

@ryankurte
Copy link

hey there,

i've recently been working with the ATSAMD51 devices and over there they've provided a DynPin type that alleviates pin-type constraints, which is super helpful for projects that run on different hardware variants both at compile or runtime.

not sure this is the right place to put this but, as it applies to all the stm32XXX-hal crates, would this be something y'all are interested in adding?

@adamgreig adamgreig transferred this issue from stm32-rs/stm32-rs Apr 1, 2021
@adamgreig
Copy link
Member

I've moved this to the meta repo which is meant to be a good location for this sort of issue, though I'm not sure how many of the HAL maintainers are subscribed... you might also get some good discussion in the stm32-rs channel or opening issues on some specific HALs.

Sounds like a good idea to me to have a totally erased type, in addition to the current partially erased by port ones.

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

No branches or pull requests

2 participants