我在github上面下载的esp-mesh-lite程序包,idf安装的是5.1.1版本,我进入esp-mesh-lite的esp-mesh-lite/examples
/mesh_local_control目录运行 idf.py set-target esp32c3 提示以下错误,这个esp-mesh-lite应该是支持esp32c3 ,怎么只提示适合"esp32s2", "esp32s3"
CMake Error at E:/Espressif/frameworks/esp-idf-v5.1.1/tools/cmake/build.cmake:540 (message):
HINT: Component "espressif/usb_host_cdc_acm" has suitable versions for
other targets: "esp32s2", "esp32s3". Is your current target "esp32c3" set
correctly?
ERROR: Solver failed processing dependency "espressif/usb_host_cdc_acm"
from the manifest file
"E:/esp-mesh-lite-master/examples/mesh_local_control/main\idf_component.yml".
Cannot find versions of "espressif/usb_host_cdc_acm" satisfying "2.*" for
the current target "esp32c3".
Call Stack (most recent call first):
E:/Espressif/frameworks/esp-idf-v5.1.1/tools/cmake/project.cmake:547 (idf_build_process)
CMakeLists.txt:7 (project)
esp-mesh-lite编译错误
Re: esp-mesh-lite编译错误
请问在哪里可以取消这个依赖项 “usb_host_cdc_acm”?
-
- Posts: 52
- Joined: Wed Sep 23, 2020 12:19 pm
Re: esp-mesh-lite编译错误
我们会尽快修复这个问题,在此之前,您可以使用以下两种方法来规避这个问题:
1.
更新下 pip,再将 idf-component-manager 更新到 1.4.1 试试
pip install --upgrade pip
pip install idf-component-manager==1.4.1
2.
https://github.com/espressif/esp-mesh-l ... ent.yml#L9 组件里面有个文件,那就尝试将这个改成 espressif/iot_bridge: "0.7.1"
1.
更新下 pip,再将 idf-component-manager 更新到 1.4.1 试试
pip install --upgrade pip
pip install idf-component-manager==1.4.1
2.
https://github.com/espressif/esp-mesh-l ... ent.yml#L9 组件里面有个文件,那就尝试将这个改成 espressif/iot_bridge: "0.7.1"
Who is online
Users browsing this forum: No registered users and 2 guests