Skip to content

Compile Error when build esp-rainmaker\examples\led_light and esp-rainmaker\examples\thread_br (MEGH-7016) #363

@tradedn

Description

@tradedn

Answers checklist.

  • I have read the Rainmaker documentation and the issue is not addressed there.
  • I have updated my IDF branch (release/vX.Y) to the latest version and checked that the issue is present there. This is not applicable if you are using Rainmaker with Arduino.
  • I have searched the Rainmaker forum and issue tracker for a similar issue and not found a similar issue.

IDF / ESP32-Arduino version.

ESP-IDF v6.0-dev-2273-g166269fb93

Operating System used.

Windows

How did you build your project?

Command line with idf.py

Development Kit.

ESP32-S3-WROOM-1, ESP32-H2-MINI-1

What is the expected behavior?

Compile SUCCESS

What is the actual behavior?

esp-rainmaker\examples\led_light
build failed
idf.py set-target esp32h2
idf.py build

Steps to reproduce.

Follow the description at address:

idf.py set-target esp32h2
idf.py build

Build Logs.

C:\myproject\esp-rainmaker\examples\led_light>idf.py build
Executing action: all (aliases: build)
Running ninja in directory C:\myproject\esp-rainmaker\examples\led_light\build
Executing "ninja all"...
[5/1473] Generating ../../partition_table/partition-table.bin
Partition table binary generated. Contents:
*******************************************************************************
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
esp_secure_cert,63,6,0xd000,8K,encrypted
nvs_key,data,nvs_keys,0xf000,4K,encrypted
nvs,data,nvs,0x10000,24K,
otadata,data,ota,0x16000,8K,
phy_init,data,phy,0x18000,4K,
ota_0,app,ota_0,0x20000,1920K,
ota_1,app,ota_1,0x200000,1920K,
reserved,6,6,0x3e0000,104K,
fctry,data,nvs,0x3fa000,24K,
*******************************************************************************
[1281/1473] Building C object esp-idf/esp_diagnostics/CMakeFiles/__idf_esp_diagnostics.dir/src/esp_diagnostics_utils.c.obj
In file included from C:/myproject/esp-idf/components/esp_diagnostics/src/esp_diagnostics_utils.c:48:
C:/myproject/esp-idf/components/freertos/esp_additions/include/freertos/task_snapshot.h:8:2: warning: #warning freertos/task_snapshot.h header is no longer used, and will be removed in future versions. [-Wcpp]
    8 | #warning freertos/task_snapshot.h header is no longer used, and will be removed in future versions.
      |  ^~~~~~~
[1334/1473] Building C object esp-idf/esp_insights/CMakeFiles/__idf_esp_insights.dir/src/esp_insights.c.obj
FAILED: esp-idf/esp_insights/CMakeFiles/__idf_esp_insights.dir/src/esp_insights.c.obj
ccache C:\myproject\esp-idf\espressif\tools\riscv32-esp-elf\esp-15.1.0_20250607\riscv32-esp-elf\bin\riscv32-esp-elf-gcc.exe -DESP_PLATFORM -DIDF_VER=\"v6.0-dev-2273-g166269fb93\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -IC:/myproject/esp-rainmaker/examples/led_light/build/config -IC:/myproject/esp-idf/components/esp_insights/include -IC:/myproject/esp-idf/components/esp_insights/src -IC:/myproject/esp-idf/components/esp_libc/platform_include -IC:/myproject/esp-idf/components/freertos/config/include -IC:/myproject/esp-idf/components/freertos/config/include/freertos -IC:/myproject/esp-idf/components/freertos/config/riscv/include -IC:/myproject/esp-idf/components/freertos/FreeRTOS-Kernel/include -IC:/myproject/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -IC:/myproject/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -IC:/myproject/esp-idf/components/freertos/esp_additions/include -IC:/myproject/esp-idf/components/esp_hw_support/include -IC:/myproject/esp-idf/components/esp_hw_support/include/soc -IC:/myproject/esp-idf/components/esp_hw_support/dma/include -IC:/myproject/esp-idf/components/esp_hw_support/ldo/include -IC:/myproject/esp-idf/components/esp_hw_support/debug_probe/include -IC:/myproject/esp-idf/components/esp_hw_support/etm/include -IC:/myproject/esp-idf/components/esp_hw_support/mspi_timing_tuning/include -IC:/myproject/esp-idf/components/esp_hw_support/mspi_timing_tuning/tuning_scheme_impl/include -IC:/myproject/esp-idf/components/esp_hw_support/power_supply/include -IC:/myproject/esp-idf/components/esp_hw_support/modem/include -IC:/myproject/esp-idf/components/esp_hw_support/port/esp32h2/. -IC:/myproject/esp-idf/components/esp_hw_support/port/esp32h2/include -IC:/myproject/esp-idf/components/esp_hw_support/port/esp32h2/private_include -IC:/myproject/esp-idf/components/heap/include -IC:/myproject/esp-idf/components/heap/tlsf -IC:/myproject/esp-idf/components/log/include -IC:/myproject/esp-idf/components/soc/include -IC:/myproject/esp-idf/components/soc/esp32h2 -IC:/myproject/esp-idf/components/soc/esp32h2/include -IC:/myproject/esp-idf/components/soc/esp32h2/register -IC:/myproject/esp-idf/components/hal/platform_port/include -IC:/myproject/esp-idf/components/hal/esp32h2/include -IC:/myproject/esp-idf/components/hal/include -IC:/myproject/esp-idf/components/esp_rom/include -IC:/myproject/esp-idf/components/esp_rom/esp32h2/include -IC:/myproject/esp-idf/components/esp_rom/esp32h2/include/esp32h2 -IC:/myproject/esp-idf/components/esp_rom/esp32h2 -IC:/myproject/esp-idf/components/esp_common/include -IC:/myproject/esp-idf/components/esp_system/include -IC:/myproject/esp-idf/components/esp_system/port/soc -IC:/myproject/esp-idf/components/esp_system/port/include/riscv -IC:/myproject/esp-idf/components/esp_system/port/include/private -IC:/myproject/esp-idf/components/riscv/include -IC:/myproject/esp-idf/components/lwip/include -IC:/myproject/esp-idf/components/lwip/include/apps -IC:/myproject/esp-idf/components/lwip/include/apps/sntp -IC:/myproject/esp-idf/components/lwip/lwip/src/include -IC:/myproject/esp-idf/components/lwip/port/include -IC:/myproject/esp-idf/components/lwip/port/freertos/include -IC:/myproject/esp-idf/components/lwip/port/esp32xx/include -IC:/myproject/esp-idf/components/lwip/port/esp32xx/include/arch -IC:/myproject/esp-idf/components/lwip/port/esp32xx/include/sys -IC:/myproject/esp-idf/components/esp_diagnostics/include -IC:/myproject/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/port/include -IC:/myproject/esp-rainmaker/examples/led_light/managed_components/espressif__rmaker_common/include -IC:/myproject/esp-idf/components/esp_event/include -IC:/myproject/esp-idf/components/esp_diag_data_store/src/rtc_store -IC:/myproject/esp-idf/components/esp_diag_data_store/include -IC:/myproject/esp-idf/components/nvs_flash/include -IC:/myproject/esp-idf/components/esp_partition/include -IC:/myproject/esp-idf/components/esp_timer/include -IC:/myproject/esp-idf/components/esp_wifi/include -IC:/myproject/esp-idf/components/esp_wifi/wifi_apps/nan_app/include -IC:/myproject/esp-idf/components/esp_phy/include -IC:/myproject/esp-idf/components/esp_phy/esp32h2/include -IC:/myproject/esp-idf/components/esp_netif/include -march=rv32imac_zicsr_zifencei_zaamo_zalrsc  -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-error=extra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -nostartfiles -Og -fno-shrink-wrap -fmacro-prefix-map=C:/myproject/esp-rainmaker/examples/led_light=. -fmacro-prefix-map=C:/myproject/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu23 -Wno-old-style-declaration -fzero-init-padding-bits=all -fno-malloc-dce -MD -MT esp-idf/esp_insights/CMakeFiles/__idf_esp_insights.dir/src/esp_insights.c.obj -MF esp-idf\esp_insights\CMakeFiles\__idf_esp_insights.dir\src\esp_insights.c.obj.d -o esp-idf/esp_insights/CMakeFiles/__idf_esp_insights.dir/src/esp_insights.c.obj -c C:/myproject/esp-idf/components/esp_insights/src/esp_insights.c
C:/myproject/esp-idf/components/esp_insights/src/esp_insights.c:14:10: fatal error: esp_core_dump.h: No such file or directory
   14 | #include <esp_core_dump.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
[1355/1473] Performing configure step for 'bootloader'
-- Found Git: C:/Program Files/Git/bin/git.exe (found version "2.51.0.windows.1")
-- Minimal build - OFF
-- The C compiler identification is GNU 15.1.0
-- The CXX compiler identification is GNU 15.1.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/myproject/esp-idf/espressif/tools/riscv32-esp-elf/esp-15.1.0_20250607/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: C:/myproject/esp-idf/espressif/tools/riscv32-esp-elf/esp-15.1.0_20250607/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: C:/myproject/esp-idf/espressif/tools/riscv32-esp-elf/esp-15.1.0_20250607/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 esp32h2
NOTICE: Using component placed at C:\myproject\esp-idf\components\esp_diag_data_store for dependency "espressif/esp_diag_data_store"(introduced by component "esp_insights")
NOTICE: Using component placed at C:\myproject\esp-idf\components\esp_diagnostics for dependency "espressif/esp_diagnostics"(introduced by component "esp_insights")
NOTICE: Using component placed at C:\myproject\esp-idf\components\esp_diag_data_store for dependency "espressif/esp_diag_data_store", specified in C:\myproject\esp-idf\components\esp_insights\idf_component.yml
NOTICE: Using component placed at C:\myproject\esp-idf\components\esp_diagnostics for dependency "espressif/esp_diagnostics", specified in C:\myproject\esp-idf\components\esp_insights\idf_component.yml
NOTICE: Updating lock file at C:\myproject\esp-idf\components\bootloader\subproject\dependencies.lock
NOTICE: Processing 3 dependencies:
NOTICE: [1/3] espressif/cbor (0.6.1~2)
NOTICE: [2/3] espressif/rmaker_common (1.5.1)
NOTICE: [3/3] idf (6.0.0)
-- Project sdkconfig file C:/myproject/esp-rainmaker/examples/led_light/sdkconfig
-- Adding linker script C:/myproject/esp-idf/components/riscv/ld/rom.api.ld
-- Adding linker script C:/myproject/esp-idf/components/soc/esp32h2/ld/esp32h2.peripherals.ld
-- Bootloader project name: "bootloader" version: 1
-- Adding linker script C:/myproject/esp-idf/components/esp_rom/esp32h2/ld/esp32h2.rom.ld
-- Adding linker script C:/myproject/esp-idf/components/esp_rom/esp32h2/ld/esp32h2.rom.api.ld
-- Adding linker script C:/myproject/esp-idf/components/esp_rom/esp32h2/ld/esp32h2.rom.libgcc.ld
-- Adding linker script C:/myproject/esp-idf/components/esp_rom/esp32h2/ld/esp32h2.rom.wdt.ld
-- Adding linker script C:/myproject/esp-idf/components/esp_rom/esp32h2/ld/esp32h2.rom.systimer.ld
-- Adding linker script C:/myproject/esp-idf/components/esp_rom/esp32h2/ld/esp32h2.rom.version.ld
-- Adding linker script C:/myproject/esp-idf/components/esp_rom/esp32h2/ld/esp32h2.rom.libc.ld
-- Adding linker script C:/myproject/esp-idf/components/esp_rom/esp32h2/ld/esp32h2.rom.libc-suboptimal_for_misaligned_mem.ld
-- Adding linker script C:/myproject/esp-idf/components/esp_rom/esp32h2/ld/esp32h2.rom.newlib.ld
-- Adding linker script C:/myproject/esp-idf/components/bootloader/subproject/main/ld/esp32h2/bootloader.rom.ld
-- Components: bootloader bootloader_support console driver efuse esp-tls esp_app_format esp_bootloader_format esp_coex esp_common esp_driver_gpio esp_driver_uart esp_driver_usb_serial_jtag esp_event esp_hw_support esp_libc esp_mm esp_netif esp_netif_stack esp_partition esp_phy esp_pm esp_ringbuf esp_rom esp_system esp_tee esp_timer esp_usb_cdc_rom_console esp_vfs_console esp_wifi espressif__cbor espressif__rmaker_common esptool_py freertos hal heap http_parser log lwip main mbedtls micro-ecc mqtt nvs_flash partition_table riscv soc spi_flash tcp_transport vfs wpa_supplicant
-- Component paths: C:/myproject/esp-idf/components/bootloader C:/myproject/esp-idf/components/bootloader_support C:/myproject/esp-idf/components/console C:/myproject/esp-idf/components/driver C:/myproject/esp-idf/components/efuse C:/myproject/esp-idf/components/esp-tls C:/myproject/esp-idf/components/esp_app_format C:/myproject/esp-idf/components/esp_bootloader_format C:/myproject/esp-idf/components/esp_coex C:/myproject/esp-idf/components/esp_common C:/myproject/esp-idf/components/esp_driver_gpio C:/myproject/esp-idf/components/esp_driver_uart C:/myproject/esp-idf/components/esp_driver_usb_serial_jtag C:/myproject/esp-idf/components/esp_event C:/myproject/esp-idf/components/esp_hw_support C:/myproject/esp-idf/components/esp_libc C:/myproject/esp-idf/components/esp_mm C:/myproject/esp-idf/components/esp_netif C:/myproject/esp-idf/components/esp_netif_stack C:/myproject/esp-idf/components/esp_partition C:/myproject/esp-idf/components/esp_phy C:/myproject/esp-idf/components/esp_pm C:/myproject/esp-idf/components/esp_ringbuf C:/myproject/esp-idf/components/esp_rom C:/myproject/esp-idf/components/esp_system C:/myproject/esp-idf/components/esp_tee C:/myproject/esp-idf/components/esp_timer C:/myproject/esp-idf/components/esp_usb_cdc_rom_console C:/myproject/esp-idf/components/esp_vfs_console C:/myproject/esp-idf/components/esp_wifi C:/myproject/esp-idf/components/bootloader/subproject/managed_components/espressif__cbor C:/myproject/esp-idf/components/bootloader/subproject/managed_components/espressif__rmaker_common C:/myproject/esp-idf/components/esptool_py C:/myproject/esp-idf/components/freertos C:/myproject/esp-idf/components/hal C:/myproject/esp-idf/components/heap C:/myproject/esp-idf/components/http_parser C:/myproject/esp-idf/components/log C:/myproject/esp-idf/components/lwip C:/myproject/esp-idf/components/bootloader/subproject/main C:/myproject/esp-idf/components/mbedtls C:/myproject/esp-idf/components/bootloader/subproject/components/micro-ecc C:/myproject/esp-idf/components/mqtt C:/myproject/esp-idf/components/nvs_flash C:/myproject/esp-idf/components/partition_table C:/myproject/esp-idf/components/riscv C:/myproject/esp-idf/components/soc C:/myproject/esp-idf/components/spi_flash C:/myproject/esp-idf/components/tcp_transport C:/myproject/esp-idf/components/vfs C:/myproject/esp-idf/components/wpa_supplicant
-- Adding linker script C:/myproject/esp-idf/components/bootloader/subproject/main/ld/esp32h2/bootloader.ld
-- Configuring done (28.7s)
-- Generating done (0.3s)
-- Build files have been written to: C:/myproject/esp-rainmaker/examples/led_light/build/bootloader
ninja: build stopped: subcommand failed.
BUG: component_requirements.py: cannot match original component filename for source component esp_insights
ninja failed with exit code 1, output of the command is in the C:\myproject\esp-rainmaker\examples\led_light\build\log\idf_py_stderr_output_28644 and C:\myproject\esp-rainmaker\examples\led_light\build\log\idf_py_stdout_output_28644

C:\myproject\esp-rainmaker\examples\led_light>idf.py --version
ESP-IDF v6.0-dev-2273-g166269fb93

More Information.

C:\myproject\esp-rainmaker\examples\thread_br>idf.py set-target esp32s3
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Directory 'C:\myproject\esp-rainmaker\examples\thread_br\build' doesn't seem to be a CMake build directory. Refusing to automatically delete files in this directory. Delete the directory manually to 'clean' it.

C:\myproject\esp-rainmaker\examples\thread_br>idf.py build
Executing action: all (aliases: build)
Running cmake in directory C:\myproject\esp-rainmaker\examples\thread_br\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=c:\myproject\esp-idf\espressif\python_env\idf6.0_py3.11_env\Scripts\python.exe -DESP_PLATFORM=1 -DCCACHE_ENABLE=1 C:\myproject\esp-rainmaker\examples\thread_br"...
CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.

Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.

-- IDF_TARGET not set, using default target: esp32
-- Found Git: C:/Program Files/Git/bin/git.exe (found version "2.51.0.windows.1")
-- Minimal build - OFF
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 15.1.0
-- The CXX compiler identification is GNU 15.1.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/myproject/esp-idf/espressif/tools/xtensa-esp-elf/esp-15.1.0_20250607/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/myproject/esp-idf/espressif/tools/xtensa-esp-elf/esp-15.1.0_20250607/xtensa-esp-elf/bin/xtensa-esp32-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: C:/myproject/esp-idf/espressif/tools/xtensa-esp-elf/esp-15.1.0_20250607/xtensa-esp-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
NOTICE: Manifest files have changed, solving dependencies.
NOTICE: Using component placed at C:\myproject\esp-idf\components\esp_diag_data_store for dependency "espressif/esp_diag_data_store"(introduced by component "esp_insights")
NOTICE: Using component placed at C:\myproject\esp-idf\components\esp_diagnostics for dependency "espressif/esp_diagnostics"(introduced by component "esp_insights")
NOTICE: Using component placed at C:\myproject\esp-rainmaker\components\esp_schedule for dependency "espressif/esp_schedule"(introduced by component "esp_rainmaker")
NOTICE: Using component placed at C:\myproject\esp-rainmaker\components\esp_daylight for dependency "espressif/esp_daylight"(introduced by component "esp_schedule")
.NOTICE: Using component placed at C:\myproject\esp-rainmaker\components\rmaker_common for dependency "espressif/rmaker_common", specified in C:\myproject\esp-idf\components\esp_diagnostics\idf_component.yml
.NOTICE: Using component placed at C:\myproject\esp-idf\components\esp_diag_data_store for dependency "espressif/esp_diag_data_store", specified in C:\myproject\esp-idf\components\esp_insights\idf_component.yml
NOTICE: Using component placed at C:\myproject\esp-idf\components\esp_diagnostics for dependency "espressif/esp_diagnostics", specified in C:\myproject\esp-idf\components\esp_insights\idf_component.yml
NOTICE: Using component placed at C:\myproject\esp-rainmaker\components\rmaker_common for dependency "espressif/rmaker_common", specified in C:\myproject\esp-idf\components\esp_insights\idf_component.yml
...NOTICE: Using component placed at C:\myproject\esp-rainmaker\components\rmaker_common for dependency "espressif/rmaker_common"(introduced by component "espressif/esp_diagnostics"), specified in C:\myproject\esp-idf\components\esp_insights\idf_component.yml
....................NOTICE: Using component placed at C:\myproject\esp-rainmaker\components\esp_schedule for dependency "espressif/esp_schedule", specified in C:\myproject\esp-rainmaker\components\esp_rainmaker\idf_component.yml
NOTICE: Using component placed at C:\myproject\esp-rainmaker\components\rmaker_common for dependency "espressif/rmaker_common", specified in C:\myproject\esp-rainmaker\components\esp_rainmaker\idf_component.yml
NOTICE: Skipping optional dependency: espressif/usb_host_cdc_acm
..NOTICE: Using component placed at C:\myproject\esp-rainmaker\components\rmaker_common for dependency "espressif/rmaker_common"(introduced by component "espressif/esp_schedule"), specified in C:\myproject\esp-rainmaker\components\esp_rainmaker\idf_component.yml
NOTICE: Using component placed at C:\myproject\esp-rainmaker\components\esp_daylight for dependency "espressif/esp_daylight"(introduced by component "espressif/esp_schedule"), specified in C:\myproject\esp-rainmaker\components\esp_rainmaker\idf_component.yml
........NOTICE: Using component placed at C:\myproject\esp-rainmaker\components\esp_daylight for dependency "espressif/esp_daylight", specified in C:\myproject\esp-rainmaker\components\esp_schedule\idf_component.yml
NOTICE: Using component placed at C:\myproject\esp-rainmaker\components\rmaker_common for dependency "espressif/rmaker_common", specified in C:\myproject\esp-rainmaker\components\esp_schedule\idf_component.yml
.NOTICE: Using component placed at C:\myproject\esp-idf\components\esp_insights for dependency "espressif/esp_insights", specified in C:\myproject\esp-rainmaker\examples\common\app_insights\idf_component.yml
NOTICE: Using component placed at C:\myproject\esp-rainmaker\components\esp_rainmaker for dependency "espressif/esp_rainmaker", specified in C:\myproject\esp-rainmaker\examples\common\app_insights\idf_component.yml
NOTICE: Using component placed at C:\myproject\esp-rainmaker\components\rmaker_common for dependency "espressif/rmaker_common"(introduced by component "esp_insights"), specified in C:\myproject\esp-rainmaker\examples\common\app_insights\idf_component.yml
NOTICE: Using component placed at C:\myproject\esp-idf\components\esp_diag_data_store for dependency "espressif/esp_diag_data_store"(introduced by component "esp_insights"), specified in C:\myproject\esp-rainmaker\examples\common\app_insights\idf_component.yml
NOTICE: Using component placed at C:\myproject\esp-idf\components\esp_diagnostics for dependency "espressif/esp_diagnostics"(introduced by component "esp_insights"), specified in C:\myproject\esp-rainmaker\examples\common\app_insights\idf_component.yml
.NOTICE: Using component placed at C:\myproject\esp-rainmaker\components\rmaker_common for dependency "espressif/rmaker_common"(introduced by component "espressif/esp_rainmaker"), specified in C:\myproject\esp-rainmaker\examples\common\app_insights\idf_component.yml
NOTICE: Using component placed at C:\myproject\esp-rainmaker\components\esp_schedule for dependency "espressif/esp_schedule"(introduced by component "espressif/esp_rainmaker"), specified in C:\myproject\esp-rainmaker\examples\common\app_insights\idf_component.yml
.NOTICE: Updating lock file at C:\myproject\esp-rainmaker\examples\thread_br\dependencies.lock
NOTICE: Processing 21 dependencies:
NOTICE: [1/21] espressif/cbor (0.6.1~1)
NOTICE: [2/21] espressif/cmake_utilities (0.5.3)
NOTICE: [3/21] espressif/esp-serial-flasher (1.8.0)
NOTICE: [4/21] espressif/esp32-camera (2.1.2)
NOTICE: [5/21] espressif/esp_codec_dev (1.1.0)
NOTICE: [6/21] espressif/esp_jpeg (1.3.1)
NOTICE: [7/21] espressif/esp_lcd_ili9341 (1.2.0)
CMake Error at C:/myproject/esp-idf/tools/cmake/build.cmake:692 (message):
Traceback (most recent call last):

File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "c:\myproject\esp-idf\espressif\python_env\idf6.0_py3.11_env\Lib\site-packages\idf_component_manager\prepare_components\__main__.py", line 6, in <module>
  main()
File "c:\myproject\esp-idf\espressif\python_env\idf6.0_py3.11_env\Lib\site-packages\idf_component_manager\prepare_components\prepare.py", line 171, in main
  args.func(args)
File "c:\myproject\esp-idf\espressif\python_env\idf6.0_py3.11_env\Lib\site-packages\idf_component_manager\prepare_components\prepare.py", line 35, in prepare_dep_dirs
  ).prepare_dep_dirs(
    ^^^^^^^^^^^^^^^^^
File "c:\myproject\esp-idf\espressif\python_env\idf6.0_py3.11_env\Lib\site-packages\idf_component_manager\core.py", line 111, in wrapper
  return func(self, *args, **kwargs)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\myproject\esp-idf\espressif\python_env\idf6.0_py3.11_env\Lib\site-packages\idf_component_manager\core.py", line 748, in prepare_dep_dirs
  downloaded_components = download_project_dependencies(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\myproject\esp-idf\espressif\python_env\idf6.0_py3.11_env\Lib\site-packages\idf_component_manager\dependencies.py", line 526, in download_project_dependencies
  download_path = fetcher.download()
                  ^^^^^^^^^^^^^^^^^^
File "c:\myproject\esp-idf\espressif\python_env\idf6.0_py3.11_env\Lib\site-packages\idf_component_tools\sources\fetcher.py", line 29, in download
  download_path = self.source.download(self.component, self.component_path.as_posix())
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\myproject\esp-idf\espressif\python_env\idf6.0_py3.11_env\Lib\site-packages\idf_component_tools\sources\web_service.py", line 316, in download
  url = get_storage_client(self.registry_url).component(component.name, component.version)[
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\myproject\esp-idf\espressif\python_env\idf6.0_py3.11_env\Lib\site-packages\idf_component_tools\registry\multi_storage_client.py", line 138, in component
  return storage_client.component(component_name=component_name, version=version)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\myproject\esp-idf\espressif\python_env\idf6.0_py3.11_env\Lib\site-packages\idf_component_tools\registry\storage_client.py", line 67, in component
  best_version['checksums_url'] = join_url(self.storage_url, best_version['checksums'])
                                                             ~~~~~~~~~~~~^^^^^^^^^^^^^

KeyError: 'checksums'

Call Stack (most recent call first):
C:/myproject/esp-idf/tools/cmake/project.cmake:740 (idf_build_process)
CMakeLists.txt:18 (project)

-- Configuring incomplete, errors occurred!
cmake failed with exit code 1, output of the command is in the C:\myproject\esp-rainmaker\examples\thread_br\build\log\idf_py_stderr_output_8092 and C:\myproject\esp-rainmaker\examples\thread_br\build\log\idf_py_stdout_output_8092

C:\myproject\esp-rainmaker\examples\thread_br>idf.py --version
ESP-IDF v6.0-dev-2273-g166269fb93

C:\myproject\esp-rainmaker\examples\thread_br>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions