Hope you're well. I have 2 components that I need to add to a project, however, I have added the directory using the EXTRA_COMPONENT_DIRS in the top level cmakelists.txt file and I get build errors.
Also, it seems the components do not have a CMakeLists.txt file so I added them. The components are esp8266_wrapper and lis3mdl. For the esp8266_wrapper, the cmakelist contains
Code: Select all
idf_component_register(SRCS esp8266_wrapper.c
INCLUDE_DIRS .
REQUIRES driver)
and for the lis3mdl, the cmakelist contains
Code: Select all
idf_component_register(SRCS lis3mdl.c
INCLUDE_DIRS .
)
Thanks!