Closed law-ko closed 1 year ago
@law-ko Backoff Algorithm is a submodule in esp-aws-iot, just to double check, have you recursively initialized submodules using git submodule --init --recursive
?
Also, you have to specify the component dependencies in REQUIRES
or PRIV_REQUIRES
as described here when registering the component using idf_component_register
. If you are using the backoff algorithm in main component then I do not see backoffAlgorithm
added as the dependency when registering component.
Solved by adding the REQUIRES section in CMakeLists.txt in main
Hello,
We are trying to include
esp-aws-iot
as a submodule and seems like thebackoffAlgorithm
are not included during the CMake building process.idf.py build
result:CMakeLists.txt (/):
CMakeLists.txt (/main/):
The backoffAlgorithm lives under
esp-aws-iot/libraries/backoffAlgorithm
but seems like it is not being compiled during theidf.py build
process.