Open balintf opened 1 month ago
I think I have figured out the root cause of the issue, I have rustup installed from the rustup.rs website via the shell script installer and I seem to have rust also installed from homebrew:
> which cargo
/opt/homebrew/bin/cargo
> which rustup
/Users/bfarago/.cargo/bin/rustup
The solution was to uninstall rust from homebrew and use only the rustup version:
brew uninstall rust
We should add this either to the Mac OS section or the Troubleshooting section of the book.
Thanks for the note! If you'd like to PR a fix, we'll take it. Otherwise I'll get around to writing something eventually. It would be better if you do it, as I don't have a modern Mac to try things out on and haven't used MacOS in a while.
I'll get a PR submitted for the next week, can you assign the issue to me?
Done. Thanks!
I have followed the guide at https://docs.rust-embedded.org/discovery-mb2, and at section 3.4. Verify the installation the
cargo embed --target thumbv7em-none-eabihf
command fails with multipleerror messages, one for each dependency
I have added the target previously by running
rustup target add thumbv7em-none-eabihf
as the section 3.4 and the troubleshooting section suggested.