Bit of a lengthy answer, I know, bear with me.
Had a look at the logfile, and am noticing a few things.
I know it seems like GIT has a problem (the null path) yet my guess is that this Is not the blocking issue, but that GIT is asked to perform an action on a non-existing path. I am not entirely sure as it is an Espressif log message and I do not exactly know what it is meant to indicate, but still. I'll come back to this later.
The log suggests that there are a few paths where the espressif tools have been installed or are installed:
E:\Desktop\Arduino\ESPIDF\ESP32\esp-idf
E:\ESPRESSIF
Both directories are mentioned in (I think) path variables reported by espressif
The installer seems to conclude that E:\Desktop\Arduino\ESPIDF\ESP32\esp-idf is to be used as the log says:
IDF_PATH value:E:\Desktop\Arduino\Eclipse\Eclipse-EspIdf
It then tries to start the installer itself but that fails:
can't open file 'E:\Desktop\Arduino\Eclipse\Eclipse-EspIdf\tools\idf_tools.py': [Errno 2] No such file or directory
So from this, as well as you mentioning earlier that the environment has variables pointing to directories that no longer exist I am guessing that yes this is an issue. What I'd like to suggest is the following:
- reinstall the esp-idf tools
- verify correct installation of these tools
- Verify Eclipses environment settings
- Install Espressif plugin in Eclipse
clean the environment
Get rid of all the non-existing directories in the Windows-path and I'd like to suggest also all other espressif directories. I'd say reboot to make sure they are no longer active.
reinstall espressif esp-idf tools
I know that is not strictly needed for the Eclipse plugin, but this way we'll know that we'll have a working setup on the PC. Later we will select this setup in the Eclipse plugin.
Use the instructions from:
https://docs.espressif.com/projects/esp ... -the-tools
The Windows installer should take care of everything, use the default directory locations
Verify correct installation
Follow the instructions at the page above.
We should now have a working command-line toolset of esp-idf
We will be using this in the Eclipse tools
Verify Eclipses environment settings
I'd like you to check the Eclipse environment settings which may be left over from previous attempts. You can find them at preferences->C/C++->Build->Environment
Either this window is empty, which is okay, the plugin will add the values, or there are paths here already. If so, it will be comparable to my OSX settings:
- Pasted Graphic.png (49.87 KiB) Viewed 9750 times
If there are values, verify/edit them so that they point to the new setup above. I suspect that you could also delete them and install the plugin but I never tried that.
Install the plugin
Follow the instructions at:
https://github.com/espressif/idf-eclipse-plugin
I really hope that this part goes successfully now....
If so, have the plugin install the esp-idf toolset: Help->Download and Configure esp-idf
In the setup screen you'll be able to select an existing esp-idf directory; choose the one we just created.
Fill in any other fields as required.
This should now install correctly, I hope.
Somewhere in this process, git is asked to check out several branches of the downloaded tools. My guess is that the error message regarding the null-path is a result of this.The opening lines of the logfile state there is no HOME directory for Eclipse to use as default location for the eGIT settings (eGIT is Eclipse-GIT). So it just assumes one and warns that this may now lead to differing behaviour between the command-line GIT and eGIT (think .gitignore settings and suchlike). Even though this might surprise you at some point, I do not think this is an issue right now.
Unless you have no git on your system but the paths in the logfile suggest you do have git.
---
I can fully understand if you say that by now you're not going to follow up on all this, and yet, using a IDE is really worthwhile.
Good luck!