-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
idf.py fails when IDF_TOOLS_PATH is not $HOME/.espressif (IDFGH-11401) #12539
Comments
Question, are you passing the same IDF_TOOLS_PATH variable when running
And, could you please give some hint, what kind of issues did you face? Each tool is installed into a separate versioned directory and there should normally be no interaction between them. (Of course, there may always be a bug, in which case we'd like to figure out the root cause and fix it.) |
I had tried that as well, with the same result. However, if that should be the case, I presume it would have to be added to the documentation?
If I remember correctly, I had faced issues when running esp-idf on the master branch. Usually in the form of build errors because of some inconsistency in dependencies. Of course it might be because I need to run If it doesn't affect pinned versions, then I will default to using |
I see now, I have missed when reading your initial post that your are running
We haven't tested the IDF_TOOLS_PATH overriding functionality the same way, instead we used You can work around this on your side by doing
Yes, will update the docs section you have linked to with a mention of
This could be because of a number of reasons, not necessarily due to a tools version conflict. For example, the submodules might not have been up-to-date. It's difficult to say more without seeing the specific error log, though. In general, having the tools for all the releases in the same |
Thank you for your time @igrr and for the clarification. I will write an issue in case I find a problem with the default install path :) |
Answers checklist.
IDF version.
v5.1 and v5.1.1
Operating System used.
Linux
How did you build your project?
Other (please specify in More Information)
If you are using Windows, please specify command line type.
None
What is the expected behavior?
What is the actual behavior?
Steps to reproduce.
Build or installation Logs.
No errors during
install.sh
and. export.sh
More Information.
This is contrary to the documentation.
I would like to install them in different paths because the different versions of esp idf do not seem to play nicely when all installed in the
~/.espressif/
folder.I installed it on ARM aarch64 ( RPi4 ) but that shouldn't matter I imagine
The text was updated successfully, but these errors were encountered: