Symbol & variable can not be resolved in ESP-IDF template
zhouypau opened this issue · comments
There is no errors
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"
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.
@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.
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().
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.