Open leshow opened 5 years ago
Ah, I see there is a PR for it already https://github.com/japaric/stm32f30x-hal/pull/16/files
Hi, @leshow! I don't think this repo is maintained, there are at least two alternatives, however:
https://github.com/stm32-rs/stm32f3xx-hal (that provides API similar to this crate);
https://github.com/copterust/alt-stm32f30x-hal/ (with slightly different API, that supposed to be a bit more ergonomic).
Thanks! I have started using stm32f3xx-hal
, it would be nice if this crate either accepted the PRs that fix issues with it, or say that it's no longer maintained.
I found it because the discovery book uses it, that should also be updated, since it's probably many people's entry point into embedded rust.
I was told on the embedded rust matrix chat that this crate is no longer used with the advent of
stm32f3xx_hal
, so I've used that crate instead to get around the issue. This crate isn't listed as deprecated though, and there's no link on the README that I can see to go and usestm32f3xx_hal
.I'm happy to either submit a PR to implement
InputPin
forPA0
and the others (you can see that it's not available here) or submit a PR amending documentation, or anything else.Let me know how I can help, cheers.