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

Upgrade to embedded-hal v1.0.0 #57

Closed
Michael2MacDonald opened this issue Feb 23, 2024 · 2 comments
Closed

Upgrade to embedded-hal v1.0.0 #57

Michael2MacDonald opened this issue Feb 23, 2024 · 2 comments

Comments

@Michael2MacDonald
Copy link

Upgrade to embedded-hal v1.0.0

v1.0.0 is the most current release of embedded-hal and has several breaking changes compared to v0.2.x. One example is v1.0.0 replaces embedded_hal::digital::v2::OutputPin with embedded_hal::digital::OutputPin. v1.0.0 also drops the adc interface and the timer CountDown trait. Moving forward, most code will be written for v1.0.0 and newer versions. The whole point of embedded-hal is to provide interfaces for portable and hardware-agnostic code. Using an outdated version defeats its entire purpose.

rp-hal and rp2040-hal already use embedded-hal v1.0.0 to my knowledge.

@jenshnielsen
Copy link

For the record this was merged to main in #60

@9names
Copy link
Member

9names commented Apr 21, 2024

Resolved by #60, and as of #62 the published versions of the crates on crates.io now support 1.0

@9names 9names closed this as completed Apr 21, 2024
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

3 participants