Page 1 of 1

ESP-IDF in Eclipse for C/C++

Posted: Wed Mar 18, 2020 10:49 am
by BergLoewe
Hello,


I'm try to install the ESP-IDF for C in Eclipse. The install program does not work. I did make it by feet.

I came to this point, where I have to built th hello world example. Therfore I need the target. That I have. If I click "run" Iget an error message "C:\Users\User\AppData\Local\Programs\Python\Python37\python.EXE: can't open file 'C:\Eclipse\eclipse\null\tools\idf.py': [Errno 2] No such file or directory".

I think I have to write a such directory. But I do'nt know where.

Can someone help?



Thanks!

Re: ESP-IDF in Eclipse for C/C++

Posted: Mon Mar 30, 2020 5:15 am
by ESP_kondalkolipaka
Hello,

Sorry for being late on this.
Here is the problem from the error message - "C:\Eclipse\eclipse\null\tools\idf.py"

As you can see computed idf.py path is wrong and it has null in it. This could be because of IDF_PATH is missing in the eclipse CDT build environment variables.

Can you make sure you've installed the tools from eclipse and selected the IDF_PATH correctly https://github.com/espressif/idf-eclips ... stallTools

To verify the IDF_PATH please check this https://github.com/espressif/idf-eclips ... -variables

Re: ESP-IDF in Eclipse for C/C++

Posted: Thu Jan 28, 2021 3:19 pm
by BergLoewe
So, a resumeè.

First, one must pay attention to the paths. If there a net drive - leave it! Make all in the C:!
Second, this here:
https://docs.espressif.com/projects/esp ... mmand-line
is nonsens. No way.

If you have install the ESP32-plagins in the Eclipse, then test with the hello world or blink or so! If this works, then take the option "ESP-IDF GDB OpenOCD Debugging" and create (double click) configurations only here!