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

Fix cargo build and cargo build --examples #30

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on May 30, 2023

  1. 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.
    tweksteen committed May 30, 2023
    Configuration menu
    Copy the full SHA
    88c750d View commit details
    Browse the repository at this point in the history
  2. 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 committed May 30, 2023
    Configuration menu
    Copy the full SHA
    0e087f9 View commit details
    Browse the repository at this point in the history