VS code ESP IDF components issue
Posted: Wed Sep 13, 2023 1:41 pm
I'm trying to take an example code from ESP IDF (https_advanced_ota) and put it inside a folder called "ota" so that it's not in the root and keep it tidy.
This creates a problem with the includes and declarations. I updated the cmakelists.txt files accordingly which was a bit of a nightmare to understand how they work. I think I managed to do most correctly, but I still get an error of a file not included, although I explicitly tell the compiler where the file is by providing the path in the #include statement and the c_cpp_properties.json
Can someone take a look and help me find the problem? I'm obviously missing something here.
This creates a problem with the includes and declarations. I updated the cmakelists.txt files accordingly which was a bit of a nightmare to understand how they work. I think I managed to do most correctly, but I still get an error of a file not included, although I explicitly tell the compiler where the file is by providing the path in the #include statement and the c_cpp_properties.json
Can someone take a look and help me find the problem? I'm obviously missing something here.