esp-box icon indicating copy to clipboard operation
esp-box copied to clipboard

How to build ESP32-S3-BOX Matter Switch example for IDF 5.4? (AEGHB-1119)

Open lboue opened this issue 6 months ago • 0 comments

Checklist

  • [x] Checked the issue tracker for similar issues to ensure this is not a duplicate.
  • [x] Described the feature in detail and justified the reason for the request.
  • [x] Provided specific use cases and examples.

Feature description

How to build ESP32-S3-BOX Matter Switch for IDF 5.4?

Use cases

I would build ESP32-S3-BOX Matter Switch for IDF 5.4.

Alternatives

No response

Additional context

ludovic@ubuntu:~/esp-box/examples/matter_switch$ idf.py set-target esp32s3
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory '/home/ludovic/esp-box/examples/matter_switch/build' not found. Nothing to clean.
Executing action: set-target
Set Target to: esp32s3, new sdkconfig will be created.
Running cmake in directory /home/ludovic/esp-box/examples/matter_switch/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=/home/ludovic/.espressif/python_env/idf5.4_py3.12_env/bin/python -DESP_PLATFORM=1 -DIDF_TARGET=esp32s3 -DCCACHE_ENABLE=0 /home/ludovic/esp-box/examples/matter_switch"...
-- Found Git: /usr/bin/git (found version "2.43.0")
-- Component directory /home/ludovic/esp-matter/examples/common/blemesh_platform does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/ludovic/esp-matter/examples/common/cmake_common does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/ludovic/esp-matter/examples/common/external_platform does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/ludovic/esp-matter/examples/common/relinker does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/ludovic/esp-matter/examples/common/utils does not contain a CMakeLists.txt file. No component will be added
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/ludovic/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/ludovic/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc - 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: /home/ludovic/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32s3-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
NOTICE: Dependencies lock doesn't exist, solving dependencies.
NOTICE: Skipping optional dependency: espressif/esp_wifi_remote
NOTICE: Skipping optional dependency: espressif/esp_wifi_remote
................................................NOTICE: Skipping optional dependency: espressif/esp_wifi_remote
...................NOTICE: Skipping optional dependency: espressif/esp_wifi_remote
CMake Error at /home/ludovic/esp-idf/tools/cmake/build.cmake:610 (message):
  ERROR: Because no versions of espressif/esp_insights match >1.2.4,<1.2.5 ||
  >1.2.5,<1.2.6 || >1.2.6,<2.0.0

   and espressif/esp_insights (1.2.4) depends on espressif/esp_diag_data_store (1.0.2), espressif/esp_insights (>=1.2.4,<1.2.5 || >1.2.5,<1.2.6 || >1.2.6,<2.0.0) requires espressif/esp_diag_data_store (1.0.2).

  And because espressif/esp_insights (1.2.5) depends on both
  espressif/esp_diag_data_store (1.0.2) and espressif/esp_diag_data_store
  (1.0.2), espressif/esp_insights (>=1.2.4,<2.0.0) requires
  espressif/esp_diag_data_store (1.0.2).

  So, because project depends on both espressif/esp_diag_data_store (1.0.1)
  and espressif/esp_insights (^1.2.4), version solving failed.

Call Stack (most recent call first):
  /home/ludovic/esp-idf/tools/cmake/project.cmake:717 (idf_build_process)
  CMakeLists.txt:58 (project)


-- Configuring incomplete, errors occurred!
cmake failed with exit code 1, output of the command is in the /home/ludovic/esp-box/examples/matter_switch/build/log/idf_py_stderr_output_51942 and /home/ludovic/esp-box/examples/matter_switch/build/log/idf_py_stdout_output_51942

lboue avatar Jun 21 '25 13:06 lboue