Component Compile Problem
Posted: Thu Feb 24, 2022 1:29 pm
We created a project from the blinky example.
And we added an own component to that project like this: so the component itself uses i2c so I added following lines to CMakeLists.txt:
[Codebox]
idf_component_register(SRCS "mc_adau1701.c"
INCLUDE_DIRS "."
REQUIRES driver)
[/Codebox]
Editor shows no errors or mistakes, but on compile time, we get this error message, that the function in our project is not found: Are we missing something? Is there any thing more to to to tell CMake that there is a component?
Best regards
And we added an own component to that project like this: so the component itself uses i2c so I added following lines to CMakeLists.txt:
[Codebox]
idf_component_register(SRCS "mc_adau1701.c"
INCLUDE_DIRS "."
REQUIRES driver)
[/Codebox]
Editor shows no errors or mistakes, but on compile time, we get this error message, that the function in our project is not found: Are we missing something? Is there any thing more to to to tell CMake that there is a component?
Best regards