What is the Recommended IDE for ESP-IDF ?

DutchOrange
Posts: 74
Joined: Fri Dec 04, 2020 4:23 pm

What is the Recommended IDE for ESP-IDF ?

Postby DutchOrange » Sat Dec 05, 2020 12:09 pm

What is the Recommended IDE for ESP-IDF ?
I Have Been trying to get VS-Code to work but having lots of problems.
So What`s the best alternative ? :?:

Jamawa
Posts: 16
Joined: Sun Aug 16, 2020 10:46 am

Re: What is the Recommended IDE for ESP-IDF ?

Postby Jamawa » Sun Dec 06, 2020 4:17 pm

I don’t know about recommended, but I use Eclipse for the ESP-IDF on both OS X and windows, and that works quite good. All the usual Eclipse features work as expected, debugging functions as desired and (small thing but still) programming the esp can be done without closing the eclipse terminal giving an easy workflow. GIT also works from Eclipse, basically completing the set of features I like to see.
I use Eclipse for multiple projects, esp32, AVR, Python, etc. which means I do not have tho switch IDEs.

Just my two cents.

DutchOrange
Posts: 74
Joined: Fri Dec 04, 2020 4:23 pm

Re: What is the Recommended IDE for ESP-IDF ?

Postby DutchOrange » Sun Dec 06, 2020 6:06 pm

Would You Recommend the Arduino IDE ? ( I cant get VS-Code or Eclipse to work)

Jamawa
Posts: 16
Joined: Sun Aug 16, 2020 10:46 am

Re: What is the Recommended IDE for ESP-IDF ?

Postby Jamawa » Mon Dec 07, 2020 7:07 pm

I have little experience with the arduino IDE, can’t help you there.

Just curious, Eclipse does not work for you? If the instructions are followed it works in my experience, for me and my co-workers. Can you describe what you are seeing?

DutchOrange
Posts: 74
Joined: Fri Dec 04, 2020 4:23 pm

Re: What is the Recommended IDE for ESP-IDF ?

Postby DutchOrange » Tue Dec 08, 2020 8:09 am

Jamawa wrote:
Mon Dec 07, 2020 7:07 pm
I have little experience with the arduino IDE, can’t help you there.

Just curious, Eclipse does not work for you? If the instructions are followed it works in my experience, for me and my co-workers. Can you describe what you are seeing?
Well When I boot the programm up I get:

Code: Select all

An internal error occurred during: "Load QML Analyzer".
Cannot invoke "javax.script.ScriptEngine.getContext()" because "this.engine" is null
And when I was setting up and downloading the tools I got the Error of:


My git is :

Code: Select all

C:\Program Files\Git\cmd\git.exe
And I have tried with different versions of Python.

3.7 = No Error code, Just disappears.
3.8 =

Code: Select all

An internal error occurred during: "Installing tools...".
Cannot invoke "org.eclipse.core.runtime.IStatus.getException()" because "status" is null
2.9 =

Code: Select all

An internal error occurred during: "Installing tools...".
Cannot invoke "org.eclipse.core.runtime.IStatus.getException()" because "status" is null

ESP_kondalkolipaka
Posts: 188
Joined: Wed Jul 17, 2019 5:26 pm

Re: What is the Recommended IDE for ESP-IDF ?

Postby ESP_kondalkolipaka » Tue Dec 08, 2020 4:34 pm

Code: Select all

An internal error occurred during: "Load QML Analyzer".
Cannot invoke "javax.script.ScriptEngine.getContext()" because "this.engine" is null
This could be because of Java 15 as mentioned here https://www.eclipse.org/forums/index.php/t/1105354/, could you please use Java 11 (Java 11 to 14 any version should be fine).

You can find Java 11 here - https://www.oracle.com/in/java/technolo ... loads.html

Code: Select all

An internal error occurred during: "Installing tools...".
Cannot invoke "org.eclipse.core.runtime.IStatus.getException()" because "status" is null
See Java 11 solves this issue, If you still have the problem, please share the error log as mentioned here https://github.com/espressif/idf-eclips ... #error-log

DutchOrange
Posts: 74
Joined: Fri Dec 04, 2020 4:23 pm

Re: What is the Recommended IDE for ESP-IDF ?

Postby DutchOrange » Wed Dec 09, 2020 1:47 pm

kondalkolipaka wrote:
Tue Dec 08, 2020 4:34 pm

Code: Select all

An internal error occurred during: "Load QML Analyzer".
Cannot invoke "javax.script.ScriptEngine.getContext()" because "this.engine" is null
This could be because of Java 15 as mentioned here https://www.eclipse.org/forums/index.php/t/1105354/, could you please use Java 11 (Java 11 to 14 any version should be fine).

You can find Java 11 here - https://www.oracle.com/in/java/technolo ... loads.html

Code: Select all

An internal error occurred during: "Installing tools...".
Cannot invoke "org.eclipse.core.runtime.IStatus.getException()" because "status" is null
See Java 11 solves this issue, If you still have the problem, please share the error log as mentioned here https://github.com/espressif/idf-eclips ... #error-log
So I did a update of Eclipse and it removed the Error, But I still want to Change it to 11. I have done everything correctly as it seems but when I try change it in Eclipse it dosnt Allow me
When I got Project-> Properties nothing comes up, Also I have tried Windows-> Preferences -> Java Virtual Machines but it doesn't allow me to select it. The other weird thing is that the Current version (15) is opening a jvm.dll in this location,
C:\Users\User-Pc\.p2\pool\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_15.0.1.v20201027-0507\jre\bin\server
But Iam unable to find this same file in the 11 Version
Any Ideas ?

ESP_kondalkolipaka
Posts: 188
Joined: Wed Jul 17, 2019 5:26 pm

Re: What is the Recommended IDE for ESP-IDF ?

Postby ESP_kondalkolipaka » Thu Dec 10, 2020 7:23 am

Hi,

Once you've uninstalled Java 15 and installed Java 11, please restart Eclipse. This will automatically pick the Java version which is available in the system.

For some reason, If you still need Java 15 in your system, you need to configure Eclipse to pick up the Java 11 version with the eclipse.ini file. Check this https://wiki.eclipse.org/Eclipse.ini

Code: Select all

-vm
/Library/Java/JavaVirtualMachines/jdk-11.0.7.jdk/Contents/Home/bin

DutchOrange
Posts: 74
Joined: Fri Dec 04, 2020 4:23 pm

Re: What is the Recommended IDE for ESP-IDF ?

Postby DutchOrange » Thu Dec 10, 2020 10:02 am

kondalkolipaka wrote:
Thu Dec 10, 2020 7:23 am
Hi,

Once you've uninstalled Java 15 and installed Java 11, please restart Eclipse. This will automatically pick the Java version which is available in the system.

For some reason, If you still need Java 15 in your system, you need to configure Eclipse to pick up the Java 11 version with the eclipse.ini file. Check this https://wiki.eclipse.org/Eclipse.ini

Code: Select all

-vm
/Library/Java/JavaVirtualMachines/jdk-11.0.7.jdk/Contents/Home/bin
I have successfuly changed the Version to Version 11.

Code: Select all

-vm
C:\Program Files\Java\jdk-11.0.9\bin\javaw.exe
But now I get the Error of: (Its Still the Same Error)

Code: Select all

An internal error occurred during: "Installing tools...".
java.lang.NullPointerException
Using
Git= C:\Program Files\Git\git-bash.exe
Python = 3.8

Jamawa
Posts: 16
Joined: Sun Aug 16, 2020 10:46 am

Re: What is the Recommended IDE for ESP-IDF ?

Postby Jamawa » Fri Dec 11, 2020 9:26 pm

Am I correct in understanding that you get all this by just starting Eclipse? If so, than something seems amiss with the Eclipse set of programs and plugins. I have never had this, so I can only guess here. Could other plugins perhaps cause conflicts?

If possible, I would like to suggest to do a clean install of Eclipse. Perhaps even deleting a few hidden directories with settings and plugins as well, prior to a install. I have had troublesome plugins which kept giving problems on a new install until I deleted those folders.

Are you running on windows, OS X or Linux?

Who is online

Users browsing this forum: No registered users and 16 guests