Skip to content

Add embedded_hal 1.0, keep support for latest 0.2.x #240

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zheylmun
Copy link

Followed example of how to support both 0.2.x and 1.0.0 in stm32f4xx-hal
All crate references to the existing hal use the lib export, and both the 1.0 traits and 0.2.x traits can now be supported.
Note that none of the implementation is done for the 1.0.0 traits, just organizing the existing dependencies to allow it.

I did update some dependencies here, I can roll that back if there's a desire for it.

Followed example in stm32f4xx-hal
All crate references to the hal use the lib export, and both the 1.0 traits and 0.2.x traits can be supported
Note that none of the implementation is done for the 1.0.0 traits, just organizing the dependencies to allow it
@zheylmun zheylmun requested a review from a team as a code owner January 28, 2025 22:10
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.

1 participant