Hi Guys,
I'm a bit new to Eclipse. I followed the steps in setting up the projects to work with esp-idf.
It seems that Eclipse is unable to find the header files in the esp-idf directory, and therefore things like ESP specific variables and type definitions (uint8_t for example) are not found.
Any idea how to get around this issue?
Thanks
Vader[BEN]
Edited the topic content and name to be a bit more generic.
Header files not found by ECLIPSE
- Vader_Mester
- Posts: 300
- Joined: Tue Dec 05, 2017 8:28 pm
- Location: Hungary
- Contact:
Header files not found by ECLIPSE
Code: Select all
task_t coffeeTask()
{
while(atWork){
if(!xStreamBufferIsEmpty(mug)){
coffeeDrink(mug);
} else {
xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
}
}
vTaskDelete(NULL);
}
-
- Posts: 1
- Joined: Mon Mar 19, 2018 1:53 pm
Re: Header files not found by ECLIPSE
Hello,
Maybe you can see my setting
and see if it will works for you.
Yudha
Maybe you can see my setting
and see if it will works for you.
Yudha
Re: Header files not found by ECLIPSE
This video may be a little dated, but it may shed some light on the puzzle.
https://www.youtube.com/watch?v=bYh2w0HzS7s
When you create a "Project" in Eclipse, you get to configure that project by telling it where to look for include files that it should consider for resolution either for compilation or for code viewing. Maybe review the video and see if it sheds some light on the story. If not, then maybe you can post back with what you tried and the actual results?
See also:
https://www.youtube.com/watch?v=X47hh-IvJ5M
https://www.youtube.com/watch?v=bYh2w0HzS7s
When you create a "Project" in Eclipse, you get to configure that project by telling it where to look for include files that it should consider for resolution either for compilation or for code viewing. Maybe review the video and see if it sheds some light on the story. If not, then maybe you can post back with what you tried and the actual results?
See also:
https://www.youtube.com/watch?v=X47hh-IvJ5M
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
- Vader_Mester
- Posts: 300
- Joined: Tue Dec 05, 2017 8:28 pm
- Location: Hungary
- Contact:
Re: Header files not found by ECLIPSE
I watched the video, and it helped, although I might be messing up something badly. Will do some checks...
It's not as simple on Windows as on linux though
BTW you have a wonderful style and voice for these kinds of videos, keep up the good work
It's not as simple on Windows as on linux though
BTW you have a wonderful style and voice for these kinds of videos, keep up the good work
Code: Select all
task_t coffeeTask()
{
while(atWork){
if(!xStreamBufferIsEmpty(mug)){
coffeeDrink(mug);
} else {
xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
}
}
vTaskDelete(NULL);
}
- Vader_Mester
- Posts: 300
- Joined: Tue Dec 05, 2017 8:28 pm
- Location: Hungary
- Contact:
Re: Header files not found by ECLIPSE
I finally managed to get around the issue.
Somehow Eclipse had problems if I had some build files already in the new project...
So i reset everything and now everything is found.
Thanks for the support.
PS: This information should be included in the docomentation, so noobs like me can see it right away.
Somehow Eclipse had problems if I had some build files already in the new project...
So i reset everything and now everything is found.
Thanks for the support.
PS: This information should be included in the docomentation, so noobs like me can see it right away.
Code: Select all
task_t coffeeTask()
{
while(atWork){
if(!xStreamBufferIsEmpty(mug)){
coffeeDrink(mug);
} else {
xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
}
}
vTaskDelete(NULL);
}
Who is online
Users browsing this forum: No registered users and 62 guests