Hello Erpressif Forum,
i am really new with Eclipse and ESP32. But i am really interesting in learning these amazing things, that is why, i need i little your help. Here my questions:
in the installation and configuration of Eclipse with the ESP32 i found this two videos, that are different in the form of the configuration:
https://www.youtube.com/watch?v=DqnZy4d03_s
https://www.youtube.com/watch?v=jF8WnlUg4pY
The first one shows me how to get the ESP IDE easier and to install and a lot of things are already installed. But i am having already problems with the #include <freertos/FreeRTOS.h> sometimes i get the problem that he is include and sometimes he is not. That is why i watched the second video. He shows like a configuration manually, where i have to insert some lines to get it work. Here are my questions:
1. If i want to do that manually i do not get the option in Preferences of the project: C/C++ Build and neither the option Path and Symbols in C/C++ General where i can add news includes (in the second video this must be done manually).
2. What is the difference between those two procedures of the videos? why are so different in what i can do or not.
3. With the installation like in the first video, a found just examples with programming in c. Can i also programming with c++?
4. If i do the things like in the second video, do i have to add the #includes (that are not found) always for a new project? or i am doing something wrong?
I appreciate your help!
Cha831a
Help with the configuration Eclipse CDT with ESP32
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: Help with the configuration Eclipse CDT with ESP32
Moved to IDE subforum.
-
- Posts: 188
- Joined: Wed Jul 17, 2019 5:26 pm
Re: Help with the configuration Eclipse CDT with ESP32
I would suggest you to follow the first video - that's the official plugin from espressif. In the process, if you have any issues, we would like to help you on that.
You can find the documentation here https://github.com/espressif/idf-eclipse-plugin
Regarding the "unresolved headers", most likely this would have caused by launch target. Make sure you create and select the launch target before compiling the project. Check this https://github.com/espressif/idf-eclips ... unchTarget
You can find the documentation here https://github.com/espressif/idf-eclipse-plugin
Regarding the "unresolved headers", most likely this would have caused by launch target. Make sure you create and select the launch target before compiling the project. Check this https://github.com/espressif/idf-eclips ... unchTarget
Re: Help with the configuration Eclipse CDT with ESP32
I have a very similar issue with Eclipse.
I managed to do all steps from https://github.com/espressif/idf-eclipse-plugin. I could flash the HelloWorld-firmware, open a terminal and read the output.
The output in the console says no error:
Generated C:/Users/hofmanja/eclipse-workspace-2-a/Hello2a/build/hello-world.bin
Build complete (0 errors, 0 warnings): C:\Users\hofmanja\eclipse-workspace-2-a\Hello2a\build
But in the problems-tab in Eclipse there are over 20 errors - starting with missing inclusions at:
#include "freertos/FreeRTOS.h"
I created and selected an esp32-launch target. How can I find out what's wrong?
Also I don't understand the connection between the IDF-Target from the ESP target properties and the core Build tool chains: In the IDF-Target, I just have one entry (esp32), but in the core build tool chains I have two entries with OS esp32 (one default and one user defined toolchain). Am I missing something?
I managed to do all steps from https://github.com/espressif/idf-eclipse-plugin. I could flash the HelloWorld-firmware, open a terminal and read the output.
The output in the console says no error:
Generated C:/Users/hofmanja/eclipse-workspace-2-a/Hello2a/build/hello-world.bin
Build complete (0 errors, 0 warnings): C:\Users\hofmanja\eclipse-workspace-2-a\Hello2a\build
But in the problems-tab in Eclipse there are over 20 errors - starting with missing inclusions at:
#include "freertos/FreeRTOS.h"
I created and selected an esp32-launch target. How can I find out what's wrong?
Also I don't understand the connection between the IDF-Target from the ESP target properties and the core Build tool chains: In the IDF-Target, I just have one entry (esp32), but in the core build tool chains I have two entries with OS esp32 (one default and one user defined toolchain). Am I missing something?
-
- Posts: 188
- Joined: Wed Jul 17, 2019 5:26 pm
Re: Help with the configuration Eclipse CDT with ESP32
"Unresolved inclusion" errors issue got fixed with the latest build - IDF Eclipse Plugin v1.0.0-beta5 (Build: 1.0.0.202002120536)
Please check the release notes https://github.com/espressif/idf-eclips ... n/releases
Please check the release notes https://github.com/espressif/idf-eclips ... n/releases
Who is online
Users browsing this forum: No registered users and 36 guests