Skip to content

Conversation

@tweksteen
Copy link

Update stm32f4xx-hal to 0.14

stm32f4xx-hal 0.13.2 is pinned on embedded-hal =1.0.0-alpha.7, while bme280 is pinned on =1.0.0-alpha.8. Update the dependency so that cargo build succeeds.

Fix build for examples/

Update Cargo.toml so that examples/rtic.rs can be build. The default build target is not updated, which means it is still possible to run cargo build successfully on x86_64 by default (without installing the thumbv7em toolchain target). I was not able to test this change as I do not have access to this device. Added some documentation to the example on how to run it.

Disable autoexamples in Cargo.toml as examples/basic.rs contains invalid syntax.

It is now possible to build the examples using:
$ cargo build --target thumbv7em-none-eabihf --examples

tweksteen added 2 commits May 30, 2023 11:57
stm32f4xx-hal 0.13.2 is pinned on embedded-hal =1.0.0-alpha.7, while
bme280 is pinned on =1.0.0-alpha.8. Update the dependency so that `cargo
build` succeeds.
Update Cargo.toml so that examples/rtic.rs can be build. The default
build target is not updated, which means it is still possible to run `cargo
build` successfully on x86_64 by default (without installing the
thumbv7em toolchain target). I was not able to test this change as I do
not have access to this device. Added some documentation to the example
on how to run it.

Disable autoexamples in Cargo.toml as examples/basic.rs contains invalid
syntax.

It is now possible to build the examples using:
$ cargo build --target thumbv7em-none-eabihf --examples
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 this pull request may close these issues.

1 participant