Fix cargo build and cargo build --examples#30
Open
tweksteen wants to merge 2 commits intoVersBinarii:masterfrom
Open
Fix cargo build and cargo build --examples#30tweksteen wants to merge 2 commits intoVersBinarii:masterfrom
tweksteen wants to merge 2 commits intoVersBinarii:masterfrom
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 buildsucceeds.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 buildsuccessfully 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