rust-embedded / linux-embedded-hal

Implementation of the `embedded-hal` traits for Linux devices
Apache License 2.0
232 stars 40 forks source link

Update embedded-hal to version 1.0.0-alpha.5 #63

Closed eldruin closed 2 years ago

eldruin commented 2 years ago

I will add support for embedded-hal 0.2.x in parallel as described here. This PR contains some preparation for that.

rust-highfive commented 2 years ago

r? @nastevens

(rust-highfive has picked a reviewer for you, use r? to override)

eldruin commented 2 years ago

It seems the MSRV build is broken because bitflags updated their MSRV. The same thing should happen for spidev, i2cdev and gpio-cdev.

eldruin commented 2 years ago

Alright, I have updated the MSRV and as well as gpio-cdev, spidev and i2cdev to their newly-released versions. bors try

bors[bot] commented 2 years ago

try

Timed out.

ryankurte commented 2 years ago

hey thanks for your work! i've updated embedded-hal-compat to 1.0.0-alpha.5, maybe y'all disagree but my preference would be to provide backwards compat separately via that than to double the work / loc for the HALs? (and if that's the case, we could update this to match)

eldruin commented 2 years ago

That is also a possibility. That would certainly do away with the concern of how long should we support 0.2.x in HALs and what that means for SemVer. Since removing it would be a breaking change, it may be better not to do it at all. Anyway, that would be an addition and I think we should merge this and release a 0.4.0-alpha.1

eldruin commented 2 years ago

bors try

bors[bot] commented 2 years ago

try

Build succeeded:

bors[bot] commented 2 years ago

Build succeeded: