Page 1 of 1

example project in vscode for esp-idf always give error include path needs update

Posted: Fri May 21, 2021 8:12 am
by nitbkl
I am new to vscode with esp-idf,

installed vscode/esp-idf/C/C++ intellisence/

Whenever open new folder in example i am getting error include path. Is it required to correct each folder?
or is there any one time solution for the esp-idf folder?

Please guide me

Re: example project in vscode for esp-idf always give error include path needs update

Posted: Fri May 21, 2021 8:33 am
by ESP_Minatel
Hi,

It looks like you are trying to open an example directly from ESP-IDF. Is that right?

You can try to add vscode folder by typing "F1" and find the "Add vscode configuration folder".

Re: example project in vscode for esp-idf always give error include path needs update

Posted: Fri May 21, 2021 1:51 pm
by nitbkl
Thanks, but do I need to add for all example projects?
Do I need to add compiler path always ?