Page 1 of 1

'Cannot open source file' for espressif components

Posted: Wed Apr 07, 2021 9:33 am
by Ryan95
I have tried to include standard espressif components ({IDF_PATH}/components) to a component that I am making. I include the standard component header at the top of my component source file, add the correct path to c_cpp_properties.json, and add it to the CMakeLists.txt as REQUIRES. I get the error 'Cannot open source file "____.h" ' when I mouse over it in VSCode.

Any help is greatly appreciated!