针对你提到的错误信息 "directory specified in extra_component_dirs doesn't exist",这通常意味着在某个配置文件中指定的 extra_component_dirs 目录路径不存在。以下是根据你的提示,分点进行的详细解答: 确认extra_component_dirs指定的目录路径: 首先,你需要找到配置文件中 extra_component_dirs 的设置项。这通常...
For example: esp/ esp-idf/ esp32/ (random stuff) mycomponent/ component.mk mycomponent.c myproject/ main/ Makefile and Makefile sets EXTRA_COMPONENT_DIRS=$(realpath ../mycomponent), then "esp32" directory which is at the same level as mycomponent was added to COMPONENT_PATHS. 3. If...
set(EXTRA_COMPONENT_DIRS foo) If, inside foo, I want to include a component from somewhere else, not in the current tree, is there a way to add another directory from within Foo's CMakeLists.txt? Something like: Code:Select all
set(EXTRA_COMPONENT_DIRS "${PROJECT_DIR}/../common") Or perhaps in the context of the dependent projects CMakeLists.txt… Code: Select all set(EXTRA_COMPONENT_DIRS "../common") Depending on how “common” is structured. You may need to spell out “ common/minmea” in the above. Also...