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

intro/http-client/example doesn't build without updating riscv to 0.8.0 in esp32-c3-dkc02-bsc #57

Closed
galamdring opened this issue Apr 22, 2022 · 2 comments

Comments

@galamdring
Copy link

when trying to run the http-client example

cargo doc --open

I got a multitude of errors about the llvm_asm! macro

error: cannot find macro `llvm_asm` in this scope

I was able to resolve it by downloading the esp-pacs repo and patch esp32c3 in common/lib/esp32-c3-dkc01-bsc/Cargo.toml

[dependencies]
esp32c3 = "=0.4.0"
...
[patch.crates.io]
esp32c3 = { path = "/Users/lmckechnie/esp/esp-pacs/esp32c3" }

This updated the riscv dependency to 0.8.0. I also added the riscv 0.8.0 dependency to intro/http-client/exercise/Cargo.toml

@justahero
Copy link
Contributor

Hello @galamdring ,

thanks for the report! It seems you ran into the same issue as reported in #55. A fix has been published earlier today to the main branch, where the riscv dependencies have been set to a fixed revision.

Could you update the repository & check the latest version in the main branch works for you?

@galamdring
Copy link
Author

@justahero Thank you, that did fix my problem. I thought I had searched here for the error, not sure how i missed that one.

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

2 participants