Libraries include
Posted: Fri May 17, 2019 3:01 pm
Hello,
I'm using MSYS2 to compile and flash the ESP32.
My ESP-IDF library is defined as C:\msys32\home\user\esp\esp-idf
I need to include a header file which is located in a common library (for another project to use).
The header file is located in another drive D:\project\common
I tried to use EXTRA_COMPONENT_DIRS in makefile and tried some other stuff like COMPONENT_SRCDIRS & COMPONENT_ADD_INCLUDEDIRS for component.mk with no success. what I'm I doing wrong?
what is the difference between makfile, *.mk file and CMakeLists.txt which located in different libraries (when I'm using one of the examples)?
Thank you,
I'm using MSYS2 to compile and flash the ESP32.
My ESP-IDF library is defined as C:\msys32\home\user\esp\esp-idf
I need to include a header file which is located in a common library (for another project to use).
The header file is located in another drive D:\project\common
I tried to use EXTRA_COMPONENT_DIRS in makefile and tried some other stuff like COMPONENT_SRCDIRS & COMPONENT_ADD_INCLUDEDIRS for component.mk with no success. what I'm I doing wrong?
what is the difference between makfile, *.mk file and CMakeLists.txt which located in different libraries (when I'm using one of the examples)?
Thank you,