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

Raspberry Pi example missing dependency linux-embedded-hal #17

Open
reeslabree opened this issue Dec 13, 2022 · 0 comments
Open

Raspberry Pi example missing dependency linux-embedded-hal #17

reeslabree opened this issue Dec 13, 2022 · 0 comments

Comments

@reeslabree
Copy link

I see this line commented out in the cargo.toml but when I add it back in cargo fails to select a version for embedded-hal.

error: failed to select a version for `embedded-hal`.
    ... required by package `linux-embedded-hal v0.4.0-alpha.1`
    ... which satisfies dependency `linux-embedded-hal = "^0.4.0-alpha.1"` of package `at-cryptoauth v0.4.1-alpha.0 (/Users/reeslabree/Documents/etc/at-cryptoauth-rs)`
versions that meet the requirements `=1.0.0-alpha.5` are: 1.0.0-alpha.5

all possible versions conflict with previously selected packages.

  previously selected package `embedded-hal v1.0.0-alpha.9`
    ... which satisfies dependency `embedded-hal = "=1.0.0-alpha.9"` of package `at-cryptoauth v0.4.1-alpha.0 (/Users/reeslabree/Documents/etc/at-cryptoauth-rs)`

What is the proper version of linux-embedded-hal to use? I'm compiling using cross with:
cross build --target armv7-unknown-linux-gnueabihf --example raspberrypi_atecc608 --features std.

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

No branches or pull requests

1 participant