ESP-IDF in Eclipse for C/C++

BergLoewe
Posts: 17
Joined: Wed Mar 18, 2020 10:34 am

ESP-IDF in Eclipse for C/C++

Postby BergLoewe » Wed Mar 18, 2020 10:49 am

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!

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

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

Postby ESP_kondalkolipaka » Mon Mar 30, 2020 5:15 am

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

BergLoewe
Posts: 17
Joined: Wed Mar 18, 2020 10:34 am

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

Postby BergLoewe » Thu Jan 28, 2021 3:19 pm

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!
Attachments
2021-01-28-16-16-14.png
2021-01-28-16-16-14.png (58.33 KiB) Viewed 3308 times

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 203 guests