Having issues building a host test for a component that uses the component manager to manage a dependency, that then also needs to mock said dependency for the host test.
-- building ESP EVENT MOCKS
-- building FREERTOS MOCKS (only task, event-groups and queue)
-- building esp-idf-cxx MOCKS (I2C only)
CMake Error at /home/vbox/esp/esp-idf/tools/cmake/component.cmake:249 (message):
ERROR: Cannot process component requirements. Multiple candidates to
satisfy project requirements:
requirement: "esp-idf-cxx" candidates: "esp-idf-cxx, espressif__esp-idf-cxx"
Call Stack (most recent call first):
/home/vbox/esp/esp-idf/tools/cmake/build.cmake:553 (__component_get_requirements)
/home/vbox/esp/esp-idf/tools/cmake/project.cmake:440 (idf_build_process)
CMakeLists.txt:15 (project)
The Component Manager version
v1.1.4
ESP-IDF Version
v5.0
python Version
3.10.6
Operating System
Linux
Browser (for https://components.espressif.com Issues)
No response
Description
Having issues building a host test for a component that uses the component manager to manage a dependency, that then also needs to mock said dependency for the host test.
See https://github.com/espressif/esp-idf/issues/10599#issue-1552329641 for more details
To Reproduce
Expected behaviour
Able to mock a component that is managed by idf_component.yml
Additional info
No response
I have checked existing issues and online Documentation