You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
CMakeErrorat/home/vbox/esp/esp-idf/tools/cmake/component.cmake:249 (message):
ERROR: Cannot process component requirements. Multiple candidates to
satisfyprojectrequirements:
requirement: "esp-idf-cxx" candidates: "esp-idf-cxx, espressif__esp-idf-cxx"
CallStack(mostrecentcallfirst):
/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)
github-actionsbot
changed the title
Unable to override managed component with mock
Unable to override managed component with mock (PACMAN-594)
Feb 7, 2023
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 espressif/esp-idf#10599 (comment) 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
The text was updated successfully, but these errors were encountered: