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

update to embedded-hal:1.0.0-alpha.10 #602

Closed
rursprung opened this issue Apr 17, 2023 · 0 comments · Fixed by #663
Closed

update to embedded-hal:1.0.0-alpha.10 #602

rursprung opened this issue Apr 17, 2023 · 0 comments · Fixed by #663

Comments

@rursprung
Copy link
Contributor

currently the HAL supports embedded-hal:1.0.0-alpha.8:

stm32f4xx-hal/Cargo.toml

Lines 55 to 57 in ae11468

[dependencies.embedded-hal-one]
version = "=1.0.0-alpha.8"
package = "embedded-hal"

it'd be great if this could be updated to the latest version (there were some breaking changes acc. to the release notes, so this should be done by somebody familiar with this HAL).
once this is done new features can be implemented (i'm looking forward to the new PWM API 🙂).

@rursprung rursprung changed the title update to embedded-hal 1.0.0-alpha.10 update to embedded-hal:1.0.0-alpha.10 Apr 17, 2023
rursprung added a commit to rursprung/stm32f4xx-hal that referenced this issue Jul 2, 2023
there were various breaking changes in alpha.9 and alpha.10 which have
been applied here. see [their changelog][embedded-hal-1.0.0-alpha.10]
for further details.

important: this is completely untested beyond "it compiles", please test
this carefully!
compilation has been tested with the `stm32f401` feature, the CI will
show whether it'll also compile for all others.

note that this does only the bare minimum to make it build against the
new version - it does not implement any of the newly added APIs. this
can be done in subsequent commits.

this fixes stm32-rs#602

[embedded-hal-1.0.0-alpha.10]: https://github.com/rust-embedded/embedded-hal/blob/v1.0.0-alpha.10/embedded-hal/CHANGELOG.md
rursprung added a commit to rursprung/stm32f4xx-hal that referenced this issue Jul 2, 2023
there were various breaking changes in alpha.9 and alpha.10 which have
been applied here. see [their changelog][embedded-hal-1.0.0-alpha.10]
for further details.

important: this is completely untested beyond "it compiles", please test
this carefully!
compilation has been tested with the `stm32f401` feature, the CI will
show whether it'll also compile for all others.

note that this does only the bare minimum to make it build against the
new version - it does not implement any of the newly added APIs. this
can be done in subsequent commits.

this fixes stm32-rs#602

[embedded-hal-1.0.0-alpha.10]: https://github.com/rust-embedded/embedded-hal/blob/v1.0.0-alpha.10/embedded-hal/CHANGELOG.md
rursprung added a commit to rursprung/stm32f4xx-hal that referenced this issue Jul 2, 2023
there were various breaking changes in alpha.9 and alpha.10 which have
been applied here. see [their changelog][embedded-hal-1.0.0-alpha.10]
for further details.

important: this is completely untested beyond "it compiles", please test
this carefully!
compilation has been tested with the `stm32f401` feature, the CI will
show whether it'll also compile for all others.

note that this does only the bare minimum to make it build against the
new version - it does not implement any of the newly added APIs. this
can be done in subsequent commits.

this fixes stm32-rs#602

[embedded-hal-1.0.0-alpha.10]: https://github.com/rust-embedded/embedded-hal/blob/v1.0.0-alpha.10/embedded-hal/CHANGELOG.md
rursprung added a commit to rursprung/stm32f4xx-hal that referenced this issue Jul 2, 2023
there were various breaking changes in alpha.9 and alpha.10 which have
been applied here. see [their changelog][embedded-hal-1.0.0-alpha.10]
for further details.

important: this is completely untested beyond "it compiles", please test
this carefully!
compilation has been tested with the `stm32f401` feature, the CI will
show whether it'll also compile for all others.

note that this does only the bare minimum to make it build against the
new version - it does not implement any of the newly added APIs. this
can be done in subsequent commits.

this fixes stm32-rs#602

[embedded-hal-1.0.0-alpha.10]: https://github.com/rust-embedded/embedded-hal/blob/v1.0.0-alpha.10/embedded-hal/CHANGELOG.md
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

Successfully merging a pull request may close this issue.

1 participant