-
Notifications
You must be signed in to change notification settings - Fork 34
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
Target not found issue in mac. #228
Comments
Hi! Do you mind sharing where did you find those instructions and which project are you trying to build? I would suggest following these instructions and then generating a project from a template |
Hi, i got my instructions from here https://github.com/esp-rs/espup and i'm trying to compile this project in mac : https://github.com/esp-rs/esp-hal/tree/main/esp32-hal. |
Try following my suggestions and have a look at https://esp-rs.github.io/book/troubleshooting/index.html#using-the-wrong-rust-toolchain |
Thank you i will follow this and see. |
Let me know how it goes! |
It looks like it's something wrong in your Mac environment. Can you share the exact commands that I would need to do to reproduce this? |
cat $HOME/export-esp.sh >> ~/.profile same goes for bashrc too |
Please, share all the instructions, including how do you install the environment, and how do you build the project that you are trying to build. Have you tried overriding the toolchain ( |
Hi, I will be closing the issue as it's inactive, feel free to reopen if the issue persists |
i'm getting the same error and I'm also on mac i basically followed everything here |
Looks like your not using the proper toolchain. Please, share all the instructions, including how do you install the environment, and how do you build the project that you are trying to build. |
What happens if you do: |
i get this |
Please, run the following: |
The fact that you cant override channels with
Maybe something is wrong with your Rust installation? Did you installed it using https://www.rust-lang.org/tools/install or using a pacakge manager? |
ahh yeah found the little devil, it was indeed how i installed rust on my machine, i used homebrew before so i had to uninstall that and install from the rust site and seemed to solve everything. thank you so much man 🫡 |
Hi I'm trying to compile code esp32 in rust on Mac
I have installed espup on machine by following commands, I have used the following commands.
I’m trying to compile example esp32 code I’m getting the following error.
how to add target?
The text was updated successfully, but these errors were encountered: