Can't reference IDF headers from /components
Posted: Thu Nov 21, 2019 1:45 am
Hi,
If I have code in the 'components' section of a project, how do I access esp-idf headers? Everything builds fine until I include say nvs_flash.h
Then I get a file not found error when I build. Is there a cmakelists.txt configuration that exposes esp-idf to source in the /components folder? The same #include <nvs_flash.h> works fine in /main of course.
If I have code in the 'components' section of a project, how do I access esp-idf headers? Everything builds fine until I include say nvs_flash.h
Then I get a file not found error when I build. Is there a cmakelists.txt configuration that exposes esp-idf to source in the /components folder? The same #include <nvs_flash.h> works fine in /main of course.