Page 1 of 1

How to add include path to Vs Code with ESP-IDF plugin

Posted: Wed Nov 30, 2022 3:23 pm
by Voliaman
Hello,

I'm new to Vs code and ESP-IDF development and I can't find how to include my source folder and include folder to the build.
I've added the line "${workspaceFolder}\\MySourceFolder\\**" to c_cpp_properties.json (and the IDE find the file) but the compiler can't find it.

I can't find proper explanation of the step even if I've seen tasks.json seems important.

How can I find how to properly add my sources and include folder to the projet?

Thanks.