ESP-IDF5.0:包含多个自定义组件修改CMakeLists.txt的方法:

在这里插入图片描述在这里插入图片描述
#set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/esp32-web-camera-master/components)

set(EXTRA_COMPONENT_DIRS “ E N V I D F P A T H / e x a m p l e s / e s p 32 − w e b − c a m e r a − m a s t e r / e x a m p l e s / c o m p o n e n t s " " ENV{IDF_PATH}/examples/esp32-web-camera-master/examples/components" " ENVIDFPATH/examples/esp32webcameramaster/examples/components""ENV{IDF_PATH}/examples/common_components/protocol_examples_common”)
#set(EXTRA_COMPONENT_DIRS “$ENV{IDF_PATH}/examples/esp32-web-camera-master/examples/components”)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(simple)

GitHub 加速计划 / es / esp-idf
7
0
下载
Espressif IoT Development Framework. Official development framework for Espressif SoCs.
最近提交(Master分支:3 个月前 )
b5ac4fbd fix(storage/vfs): incorrect log level in esp_vfs_register_fd_range Closes IDFGH-13421 See merge request espressif/esp-idf!35682 26 天前
757d74ab fix(tools): fixed failing Win CI (tests read_only, cli) Closes IDF-11782 See merge request espressif/esp-idf!35549 26 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐