Page 1 of 1

Help setting up Espressif-IDE

Posted: Sat Jan 06, 2024 12:31 am
by Ruyh71
I have been installing and reinstalling this several times through the week. Apparently an official guide to install this through eclipse is no the correct way to do it. I finally reinstalled it through the ESP-IDF Tools Installer. However the toolchain is still not recognized. I need to use Espressif for school so I do not have the option to use Platform I/O. I already enable the use Unicode UTF-8.


https://imgur.com/a/lo7Uj4r

Edit:
First I followed the instructions here (https://docs.espressif.com/projects/esp ... index.html, https://github.com/espressif/idf-eclips ... /README.md) to install ESP-IDF as an eclipse plugin), which, I read somewhere is apparently not the correct procedure as it can lead to unexpected errors.

Eclipse does not have an uninstaller so I tried to manually erase everything and reinstall with the manual installation here: https://docs.espressif.com/projects/esp ... setup.html

After several re-installations and google searches I could not get it to work and came here and the official forums for help.

Error mesage is : An internal error occurred during: "Change Build Configurations".
Cannot invoke "org.eclipse.cdt.core.build.IToolChain.getTypeId()" because "toolchain" is null

Re: Help setting up Espressif-IDE

Posted: Tue Jan 16, 2024 1:33 pm
by TeeVee
Same here, cannot install tools from IDE 2.12.0.
Same error message as described above

Re: Help setting up Espressif-IDE

Posted: Thu Jan 18, 2024 10:41 am
by jesper
Same here. 2.12.0 is broken and now I'm stuck, with projects for several customers waiting. Grrrr

Re: Help setting up Espressif-IDE

Posted: Fri Jan 19, 2024 7:19 pm
by nolongerfun
Last stable version for esp-idf is 5.1.2, be sure that you are selecting that version. I was facing the same issue, it was because my installation for esp-idf it was a newer version.

Or just try a clean installation with esp-idf = 5.1.2 and should be good

Re: Help setting up Espressif-IDE

Posted: Mon Mar 04, 2024 4:18 pm
by M-Babu
Yeah I can confirm that both versions (2.11 and 2.12) are broken in my use case with the very same errors. Overall it is "toolchain is NULL" in different descriptions. Processor in use is the ESP32 and toolchain is gcc (minimum install by `install.sh esp32`).

My workaround was to uninstall the ESP-IDF Plugin and rollback to the version 2.10:
1. Download the zip file from https://dl.espressif.com/dl/idf-eclipse ... 2.10.0.zip
2. Install the zip addon manually by "Help->Install New Software" then "Add->Archive ..." and select the downloaded archive.
3. Select "Espressif IDF" and its subcomponents and click through the install process

In my case it was working directly without any configuration about IDF paths or new project build/debug configurations.

With 2.10 (also with 2.9.1) everything worked again which looks like a big regression in 2.11/2.12. I think the main reason there are only a few complaints is that a lot of people already switched to VS Code.

Re: Help setting up Espressif-IDE

Posted: Tue Apr 02, 2024 1:16 pm
by TeeVee
Thanx for describing your workaround with 2.10 - I did it the same way and indeed it is working again.
Not sure if there are any drawbacks (e.g. newer build targets).
Might indeed change to VS-Code because of better maintenance ...