I am new on esp chips and I am trying the examples in esp-idf.
when i build the wifi sample code in eclipse ,
Code: Select all
wifi_init_config_t wifi_init_config = WIFI_INIT_CONFIG_DEFAULT();
ESP_ERROR_CHECK(esp_wifi_init(&wifi_init_config));
......I have already included the esp_wifi.h, the code can be built and flash to the chip and function.Symbol 'wifi_init_config' could not be resolved
When I move the mouse to WIFI_INIT_CONFIG_DEFAULT(), it pop up syntax error, if I press ctrl and click on it, it still can go to the esp_wifi.h header file. Although it still can compile but the error message is annoying, Any one can help on this , thanks.