使用esp32c3编译烧录esp-rainmaker程序时(如esp-rainmaker/examples/led_light),在idf.py set-target esp32c3时出现错误,日志如下:(缺少network_provisioning组件)
PS D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\examples\led_light> idf.py set-target esp32c3
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory 'D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\examples\led_light\build' not found. Nothing to clean.
Executing action: set-target
Set Target to: esp32c3, new sdkconfig will be created.
Running cmake in directory D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\examples\led_light\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=D:\Espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe -DESP_PLATFORM=1 -DIDF_TARGET=esp32c3 -DCCACHE_ENABLE=1 D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\examples\led_light"...
-- Found Git: D:/Espressif/tools/idf-git/2.43.0/cmd/git.exe (found version "2.43.0.windows.1")
fatal: no submodule mapping found in .gitmodules for path 'esp-rainmaker'
-- Component directory D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/components/esp-insights does not contain a CMakeLists.txt file. No component will be added
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- The ASM compiler identification is GNU
-- Found assembler: D:/Espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin/riscv32-esp-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/Espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin/riscv32-esp-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: D:/Espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin/riscv32-esp-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32c3
Dependencies lock doesn't exist, solving dependencies.
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.0)(introduced by component esp_diagnostics)
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp-insights\components\esp_diag_data_store for dependency espressif/esp_diag_data_store(~1.0)(introduced by component esp_insights)
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp-insights\components\esp_diagnostics for dependency espressif/esp_diagnostics(~1.0)(introduced by component esp_insights)
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.0)(introduced by component esp_insights)
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp_schedule for dependency espressif/esp_schedule(~1.2.0)(introduced by component esp_rainmaker)
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\json_generator for dependency espressif/json_generator(~1.1.1)(introduced by component esp_rainmaker)
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\json_parser for dependency espressif/json_parser(~1.0.3)(introduced by component esp_rainmaker)
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.6)(introduced by component esp_rainmaker)
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.2)(introduced by component esp_schedule)
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\jsmn for dependency espressif/jsmn(~1.1)(introduced by component json_parser)
.Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.0), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/components/esp-insights/components/esp_diagnostics\idf_component.yml
.Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp-insights\components\esp_diag_data_store for dependency espressif/esp_diag_data_store(~1.0), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/components/esp-insights/components/esp_insights\idf_component.yml
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp-insights\components\esp_diagnostics for dependency espressif/esp_diagnostics(~1.0), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/components/esp-insights/components/esp_insights\idf_component.yml
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.0), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/components/esp-insights/components/esp_insights\idf_component.yml
...Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.0)(introduced by component espressif/esp_diagnostics), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/components/esp-insights/components/esp_insights\idf_component.yml
.Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp_schedule for dependency espressif/esp_schedule(~1.2.0), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/components/esp_rainmaker\idf_component.yml
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\json_generator for dependency espressif/json_generator(~1.1.1), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/components/esp_rainmaker\idf_component.yml
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\json_parser for dependency espressif/json_parser(~1.0.3), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/components/esp_rainmaker\idf_component.yml
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.6), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/components/esp_rainmaker\idf_component.yml
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.2)(introduced by component espressif/esp_schedule), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/components/esp_rainmaker\idf_component.yml
....Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\jsmn for dependency espressif/jsmn(~1.1)(introduced by component espressif/json_parser), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/components/esp_rainmaker\idf_component.yml
......Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.2), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/components/esp_schedule\idf_component.yml
.Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\jsmn for dependency espressif/jsmn(~1.1), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/components/json_parser\idf_component.yml
.Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp-insights\components\esp_insights for dependency espressif/esp_insights(~1.0.1), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/examples/common/app_insights\idf_component.yml
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp_rainmaker for dependency espressif/esp_rainmaker(~=1.0), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/examples/common/app_insights\idf_component.yml
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp-insights\components\esp_diag_data_store for dependency espressif/esp_diag_data_store(~1.0)(introduced by component espressif/esp_insights), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/examples/common/app_insights\idf_component.yml
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp-insights\components\esp_diagnostics for dependency espressif/esp_diagnostics(~1.0)(introduced by component espressif/esp_insights), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/examples/common/app_insights\idf_component.yml
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.0)(introduced by component espressif/esp_insights), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/examples/common/app_insights\idf_component.yml
.Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp_schedule for dependency espressif/esp_schedule(~1.2.0)(introduced by component espressif/esp_rainmaker), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/examples/common/app_insights\idf_component.yml
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\json_generator for dependency espressif/json_generator(~1.1.1)(introduced by component espressif/esp_rainmaker), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/examples/common/app_insights\idf_component.yml
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\json_parser for dependency espressif/json_parser(~1.0.3)(introduced by component espressif/esp_rainmaker), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/examples/common/app_insights\idf_component.yml
Using component placed at D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.6)(introduced by component espressif/esp_rainmaker), specified in D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/examples/common/app_insights\idf_component.yml
CMake Error at D:/Espressif/frameworks/esp-idf-v5.2.1/tools/cmake/build.cmake:544 (message):
ERROR: Because no versions of espressif/esp_rainmaker match >=1.0.0,<1.4.0
|| >1.4.0,<2.0.0
and espressif/esp_rainmaker (1.4.0) depends on espressif/network_provisioning (~1.0.0), espressif/esp_rainmaker (>=1.0.0,<2.0.0) requires espressif/network_provisioning (~1.0.0).
So, because no versions of espressif/network_provisioning match ~1.0.0
and project depends on espressif/esp_rainmaker (~=1.0), version solving failed.
Call Stack (most recent call first):
D:/Espressif/frameworks/esp-idf-v5.2.1/tools/cmake/project.cmake:605 (idf_build_process)
CMakeLists.txt:16 (project)
..-- Configuring incomplete, errors occurred!
See also "D:/Espressif/frameworks/esp-idf-v5.2.1/esp-rainmaker-latest/examples/led_light/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1, output of the command is in the D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\examples\led_light\build\log\idf_py_stderr_output_26836 and D:\Espressif\frameworks\esp-idf-v5.2.1\esp-rainmaker-latest\examples\led_light\build\log\idf_py_stdout_output_26836
已更新好ESP-IDF与esp-rainmaker组件至最新版本,使用git clone https://github.com/espressif/esp-networ ... ioning.git components/esp-network-provisioning
命令手动克隆network_provisioning 组件时,因github从2021年8月13日起,已移除对密码认证的支持,在ESP-IDF CMD对话框内也无法克隆组件,查看GitHub文档也没能找到解决方法。
从官网上下载rainmaker的额外组件文件夹idf-extra-components-dd2ce03b472504f384fa228ca2938230f2b5bfc2,里面有network_provisioning组件复制进去也无法生效,不知如何使用
使用esp32c3在编译烧录其他程序时都能正常运行(如blink,blueteeth等),但只要与rainmaker相关就会出现同样的这么一个问题,在各个地方也没能找到合适的解决办法。
使用esp32c3编译烧录esp-rainmaker程序时出现缺少network_provisioning组件的问题
-
- Posts: 4
- Joined: Wed Aug 14, 2024 1:31 am
Who is online
Users browsing this forum: No registered users and 49 guests