Help setting up Espressif-IDE

Ruyh71
Posts: 1
Joined: Wed Dec 13, 2023 7:23 pm

Help setting up Espressif-IDE

Postby Ruyh71 » Sat Jan 06, 2024 12:31 am

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

TeeVee
Posts: 13
Joined: Tue Sep 12, 2017 2:00 pm

Re: Help setting up Espressif-IDE

Postby TeeVee » Tue Jan 16, 2024 1:33 pm

Same here, cannot install tools from IDE 2.12.0.
Same error message as described above

jesper
Posts: 26
Joined: Thu Nov 09, 2017 4:38 pm

Re: Help setting up Espressif-IDE

Postby jesper » Thu Jan 18, 2024 10:41 am

Same here. 2.12.0 is broken and now I'm stuck, with projects for several customers waiting. Grrrr
MagicMicros Co., Ltd. - Rayong, Thailand
Electronics design, PCB layout & programming.

nolongerfun
Posts: 1
Joined: Fri Jan 19, 2024 7:13 pm

Re: Help setting up Espressif-IDE

Postby nolongerfun » Fri Jan 19, 2024 7:19 pm

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

M-Babu
Posts: 2
Joined: Tue Jan 09, 2024 12:13 pm

Re: Help setting up Espressif-IDE

Postby M-Babu » Mon Mar 04, 2024 4:18 pm

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.

TeeVee
Posts: 13
Joined: Tue Sep 12, 2017 2:00 pm

Re: Help setting up Espressif-IDE

Postby TeeVee » Tue Apr 02, 2024 1:16 pm

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 ...

Who is online

Users browsing this forum: Bing [Bot] and 69 guests