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

Update embedded-hal traits #47

Merged
merged 25 commits into from
Oct 16, 2023
Merged

Update embedded-hal traits #47

merged 25 commits into from
Oct 16, 2023

Conversation

9names
Copy link
Collaborator

@9names 9names commented Aug 6, 2023

Update all drivers to use embedded-hal 1.0 alpha 11 where possible.
Port all nb drivers to use embedded-hal-nb 1.0 alpha 3.
Move any remaining drivers using removed embedded-hal 1.0 alpha traits to embedded-hal 0.2 traits.
Update the examples to make them build again after all of the above.

Notes:

  • examples still have warnings
  • i2c transactional is new and untested
  • i have not run any of the examples to ensure there is no new breakage

Wait until testing is complete before merging, but you can review at any time.
Please squash this PR when merging.

@9names
Copy link
Collaborator Author

9names commented Aug 7, 2023

I've tested this with the examples - serial, gpio, delay work fine.
i2c isn't working correctly for me, but it wasn't working on main branch either.

@9names 9names requested a review from luojia65 August 7, 2023 13:52
@9names 9names merged commit 0b230e8 into sipeed:main Oct 16, 2023
4 checks passed
@9names 9names deleted the eh-1.0-a11 branch January 10, 2024 10:11
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