-
Notifications
You must be signed in to change notification settings - Fork 103
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
Update to embedded-hal v1.0.0 #474
Comments
I think it would make more sense to migrate to e-h 1.0.0 as soon as possible to encourage/allow driver/lib authors to also update their crates to 1.0.0. You can always use an older version of this HAL if you need compatibility with pre-1.0.0 e-h. e-h is scheduled for release 28th of December, same day as Rust 1.75.0. |
It's also possible to support both simultaneously, which stm32f4xx-hal does for example. That way the support for e-h 0.2 can remain in place even as most users migrate to 1.0, and there's no hard switchover. |
I think the My suggestion is to put out an e-h 1.0.0 branch as soon as possible and reconsider the dual support possibility in a month or two when the dust settles after the change-over. |
There's now a non-backwards compatible eh v1.0 branch here, and a corresponding PR in #476. Contributions / PRs / Reviews are welcome! |
I have been testing One problem occurs with examples I think (Also, I am looking for more device crates using |
Hi @pdgilbert . Great that you are trying out the
I guess the |
I have switched to Thank you for the explanation @richardeoin . To deal with read/write bytes I am using code like
This is not ideal but I will let the dust settle after the release before looking for something better. The summary of my example tests is:
|
It looks like embedded-hal v1.0.0 is approaching a release 🎉 . Within a reasonable time frame after release (3 months? 12 months?) this crate should be updated to use v1.0.0.
There is a PR here, but it is likely very out-of-date at this point. However it should provide some hints about what needs doing.
The text was updated successfully, but these errors were encountered: