-
Notifications
You must be signed in to change notification settings - Fork 71
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
Embedded hal 1.0.0 #213
Embedded hal 1.0.0 #213
Conversation
@eldruin any chance for a review :) Fwiw the minor version ofcourse needs to be bumped, unsure if you prefer that in the PR or to do it directly after merging |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thank you!
- run: cargo test --doc --target x86_64-unknown-linux-gnu | ||
toolchain: 1.75 | ||
- run: cargo build --lib --target x86_64-unknown-linux-gnu | ||
- run: cargo doc --target x86_64-unknown-linux-gnu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do the examples not build with Rust 1.75.0? If so, please rename this step "build with MSRV"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specifically embassy needs 1.79 at the moment; renamed now
The examples might require newer rust version based on the pac crate used; So for the MRSV test only build the actual library and documentation
stmf32f1xx doesn't yet support embedded-hal 1.0. Switch to embassy-stm32 as a pac provider, which can be used in both a sync and async setups. Unfortunately for blocking i2c support embassy git has to be used rather then a releaed version. Also for i2c move the expected configuration from PB8/PB9 to PB6/PB7 to avoid the needed for pin remapping, which embassy doesn't yet support on stm32f1xx chips
412abba
to
bad421a
Compare
@eldruin oh one favour; if your merge this can you use a fast-forward/merge commit rather then squashing the lot so the seperated commits are maintained :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thank you for your work!
53039a8
into
rust-embedded-community:master
Hi! Thank you for helping out with SSD1306 development! Please:
master
if you're not already up to dateCHANGELOG.md
entry in the Unreleased section under the appropriate heading (Added, Fixed, Changed, etc)rustfmt
on the project withcargo fmt --all
- CI will not pass without this stepPR description
This cherry-picks the embedded-hal-1.0.0 update from #207 and combined that with changing the various examples to use embassy-stm32 as the pac provider which implements embedded-hal-1.0 (stm32f1xx-hal does not yet).