dprotsiv / dps310-rs

Infineon DPS310 I2C driver in rust
MIT License
2 stars 5 forks source link

Move f3 hal to dev-dependencies and fix example #1

Closed chemicstry closed 2 years ago

chemicstry commented 2 years ago

The crate was not usable on any other target, because it always pulled in F3 HAL.

I moved it to dev-dependencies instead and also bumped versions. The example compiles, but I don't have an F3 board to test it.

I tested in on an STM32F429ZIT6 project instead and seems to work fine. Thanks for the crate!

dprotsiv commented 2 years ago

@chemicstry chemicstry Thanks for the PR. I validated the code on my STMF3 - it compiles and runs. Please reformat line endings from CR/LF (Windows) to LF (*nix) and resubmit. Once this is done, I'll merge the code.

Thanks.