juliangaal / mpu6050

MPU6050 embedded-hal driver written in Rust
https://crates.io/crates/mpu6050
MIT License
50 stars 31 forks source link

make driver compatible with embedded-hal master #59

Open Vollbrecht opened 1 year ago

Vollbrecht commented 1 year ago

This PR should help future proof the driver. Currently there are a lot of changes incorporated on embedded-hal master branch. This changes here make the driver work with embedded-hal = ">1.0.0-alpha.9" and the current git master branch. This can be interesting for users who currently pull the embedded-hal alpha versions, or for people using esp-idf-hal's for ESP32 family. Furthermore when linux-embedded-hal will switch to an embedded-hal 1.0.0 version this changes here will be needed. Because the examples are all build on top of linux-embedded-hal, they could not be updated so far.

juliangaal commented 1 year ago

hey, thanks for the effort. I'll have a look after Easter, before that I simply will not have time.

Vollbrecht commented 1 year ago

hey, thanks for the effort. I'll have a look after Easter, before that I simply will not have the time.

Np, as long as many people using the e-hal 0.2x version its not necessary. Though it should be useful for people using the alpha e-hal version. For that it could be integrated in a separate 1.0.0alpha branch till release.

Happy Holidays !

juliangaal commented 1 year ago

hey, just letting you know I haven't forgotten...

Vollbrecht commented 1 year ago

np, in the next days i will update once more to make it work with the latest release of alpha.10