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-IDF in Eclipse for C/C++
-
- Posts: 188
- Joined: Wed Jul 17, 2019 5:26 pm
Re: ESP-IDF in Eclipse for C/C++
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
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++
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!
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 (58.33 KiB) Viewed 3346 times
Who is online
Users browsing this forum: No registered users and 163 guests