ESP32 C3 modbus-master官方例程编译报错
Posted: Mon Dec 11, 2023 6:50 am
编译时出现如下错误,请问如何解决?谢谢
————————————————————————
编译环境VScode+IDF插件,IDF版本5.1.1
————————————————————————
编译环境VScode+IDF插件,IDF版本5.1.1
Code: Select all
Dependencies lock doesn't exist, solving dependencies.
.CMake Error at E:/esp/esp-idf/tools/cmake/build.cmake:540 (message):
WARNING: HTTPSConnectionPool(host='components-file.espressif.com',
port=443): Max retries exceeded with url:
/components/espressif/esp-modbus.json (Caused by
ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at
0x000001496CBD9210>, 'Connection to components-file.espressif.com timed
out. (connect timeout=6.05)'))
HINT: Please check manifest file of the following component(s): main
ERROR: Because project depends on espressif/esp-modbus (^1.0) which doesn't
match any versions, version solving failed.
Call Stack (most recent call first):
E:/esp/esp-idf/tools/cmake/project.cmake:547 (idf_build_process)
CMakeLists.txt:8 (project)
-- Configuring incomplete, errors occurred!
See also "E:/H3/mb_master/build/CMakeFiles/CMakeOutput.log".
* The terminal process "C:\WINDOWS\System32\cmd.exe /d /c cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -B e:\H3\mb_master\build -S e:\H3\mb_master" terminated with exit code: 1.