Welcome
I am able to add a library that is in the C:\esp-idf directory "led_strip.h" by adding the following entry to CmakeLists.txt:
.
then #include "led_strip.h" is seen in main.c and everything compiles
How do I do the same, but with my own library which is in the project folder (eclipse workspace) and not in the C:³³³-idf directory?
Doesn't work:
-include itself (can't see)
-adding the path as above leading to the project folder
I am able to add a library that is in the C:\esp-idf directory "led_strip.h" by adding the following entry to CmakeLists.txt:
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/led_strip)
then #include "led_strip.h" is seen in main.c and everything compiles
How do I do the same, but with my own library which is in the project folder (eclipse workspace) and not in the C:³³³-idf directory?
Doesn't work:
-include itself (can't see)
-adding the path as above leading to the project folder