-
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
When installing specific tools, export.sh fails (IDFGH-6172) #7848
Comments
Hi @shehzaman. Yes, you are right that this is the cause:
So it cannot save that your installation choice was "esp32" only. Does the file exists? Or maybe directory Does it help if you do BTW, in docker we use |
Hi @dobairoland thank you for taking a look into this. You are absolutely right! The script that creates Adding Ah, I should've taken a look at the docker folder makes it so much easier! I'll close the issue as it is solved. |
Thanks @shehzaman for the feedback. I'll create a patch so |
Environment
Problem Description
I am following instructions from https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html#get-started-set-up-tools
The
install.sh
script supports installing specific tools, I tried installingesp32
only and none of the other tools.Next step
. ./export.sh
(orsource export.sh
) fails as it cannot find other tools (xtensa-esp32s2-elf, xtensa-esp32s3-elf, etc) which I do not need.Expected Behavior
source export.sh
should be aware of tools installed and not fail when some tools are not installed.Actual Behavior
source export.sh
stops becauseERROR <> tool has no installed versions
Steps to reproduce
I am following instructions from https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html#get-started-set-up-tools
Step 1:
Step 2:
The
. ./export.sh
command fails because it is unable to find tools, that I did not install. I do not need any of the other tools.Did it fail because
idf-env.json
could not be generated? I searched this repository, issues, commits and could not find any mention ofidf-env.json
anywhere.I looked at command line tools for
export
inidf_tools.py
-esp-idf/tools/idf_tools.py
Line 1703 in 417ef24
There is no command line option to mention which tools have been installed.
I'd be very obliged if anyone could help me run the export script correctly.
The text was updated successfully, but these errors were encountered: