Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symbol & variable can not be resolved in ESP-IDF template #12

Open
zhouypau opened this issue Apr 1, 2019 · 4 comments
Open

Symbol & variable can not be resolved in ESP-IDF template #12

zhouypau opened this issue Apr 1, 2019 · 4 comments

Comments

@zhouypau
Copy link

zhouypau commented Apr 1, 2019

There is no errors
s1
to build ESP-idf template in eclipse, Ubuntu BUT some symbols and variables in main() can not be resolved with warning sign.

#includes are all good with no error and waning sign
#include "freertos"/FreeRTOS.h"
#include "esp_wifi.h"
#include "esp_system.h"
#include "esp_event.h"
#include "esp_event_loop.h"
#include "nvs_flash.h"
#include "drive/gpio.h"

@dheerajdake
Copy link

I too have the same problem. I'm able to build and run examples but the indexer settings are not right. How to configure the indexer settings?

How to see what's in the header files? I need to look at driver/gpio.h using eclipse.

@dheerajdake
Copy link

@zhouypau Did you check this?
espressif/esp-idf#17

You need to manually add the paths for GNU C as mentioned in the above link. This worked for me.

@zhouypau
Copy link
Author

thanks, yes I have manually add the paths in eclipse/project' property/ GNU C , The error mark before the #include are gone, but they
still stay in main().

@dheerajdake
Copy link

If you have added the paths for all the needed header files, you won't be seeing any error marks in main(). They will disappear too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants