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

Voliaman
Posts: 1
Joined: Wed Nov 30, 2022 3:17 pm

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

Postby Voliaman » Wed Nov 30, 2022 3:23 pm

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.

Who is online

Users browsing this forum: jesper and 27 guests