Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buillding problem Cmake loop (CON-1571) #1299

Closed
ravencarcass opened this issue Feb 27, 2025 · 1 comment
Closed

buillding problem Cmake loop (CON-1571) #1299

ravencarcass opened this issue Feb 27, 2025 · 1 comment

Comments

@ravencarcass
Copy link

I've problems with building the light example in VSCode. If I would build an other exmple do he complete the full build. So I think that their is somethings wrong with the light example on my PC. Can somebody help me with solve this problem?

For the record:

  • OS: Linux ubuntu 22.04
  • IDF: version 5.4
  • compiler: VSCode
  • Ninja: 1.10.1
  • Cmake: 3.22.1

This are the steps I followed:

  1. open the terminal
  2. get_matter
  3. code
  4. open the light example
  5. press on the build button

result is the next loop:

*  Executing task: ninja  

[0/1] Re-running CMake...
IDF_VERSION: 5.4.0; idf version number: 5.4.0
Sequence of SDKCONFIG files: sdkconfig.defaults
-- Component directory /home/robbe/esp/esp-matter/examples/common/blemesh_platform does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/robbe/esp/esp-matter/examples/common/cmake_common does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/robbe/esp/esp-matter/examples/common/external_platform does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/robbe/esp/esp-matter/examples/common/relinker does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/robbe/esp/esp-matter/examples/common/secondary_ble_adv does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/robbe/esp/esp-matter/examples/common/utils does not contain a CMakeLists.txt file. No component will be added
-- ccache will be used for faster recompilation
-- Building ESP-IDF components for target esp32c6
NOTICE: Skipping optional dependency: espressif/cmake_utilities
NOTICE: Skipping optional dependency: espressif/esp_wifi_remote
NOTICE: Skipping optional dependency: espressif/cmake_utilities
NOTICE: Skipping optional dependency: espressif/esp_wifi_remote
NOTICE: Skipping optional dependency: espressif/cmake_utilities
NOTICE: Skipping optional dependency: espressif/esp_wifi_remote
NOTICE: Skipping optional dependency: espressif/cmake_utilities
NOTICE: Skipping optional dependency: espressif/esp_wifi_remote
NOTICE: Processing 20 dependencies:
NOTICE: [1/20] espressif/button (3.5.0)
NOTICE: [2/20] espressif/cbor (0.6.0~1)
NOTICE: [3/20] espressif/cmake_utilities (0.5.3)
NOTICE: [4/20] espressif/esp-serial-flasher (0.0.11)
NOTICE: [5/20] espressif/esp_bsp_devkit (1.0.1)
NOTICE: [6/20] espressif/esp_delta_ota (1.1.0)
NOTICE: [7/20] espressif/esp_diag_data_store (1.0.2)
NOTICE: [8/20] espressif/esp_diagnostics (1.2.1)
NOTICE: [9/20] espressif/esp_encrypted_img (2.1.0)
NOTICE: [10/20] espressif/esp_insights (1.2.2)
NOTICE: [11/20] espressif/esp_rcp_update (1.2.0)
NOTICE: [12/20] espressif/esp_secure_cert_mgr (2.5.0)
NOTICE: [13/20] espressif/jsmn (1.1.0)
NOTICE: [14/20] espressif/json_generator (1.1.2)
NOTICE: [15/20] espressif/json_parser (1.0.3)
NOTICE: [16/20] espressif/led_indicator (0.9.3)
NOTICE: [17/20] espressif/led_strip (2.5.5)
NOTICE: [18/20] espressif/mdns (1.7.0)
NOTICE: [19/20] espressif/rmaker_common (1.4.6)
NOTICE: [20/20] idf (5.4.0)
-- Found Python3: /home/robbe/.espressif/python_env/idf5.4_py3.10_env/bin/python3.10 (found version "3.10.12") found components: Interpreter 
NOTICE: Skipping optional dependency: espressif/esp_wifi_remote
NOTICE: Skipping optional dependency: espressif/cmake_utilities
-- Project sdkconfig file /home/robbe/esp/esp-matter/examples/light/sdkconfig
warning: default on the choice symbol SEC_CERT_DAC_PROVIDER (defined at /home/robbe/esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/components/chip/Kconfig:815, /home/robbe/esp/esp-matter/components/esp_matter/Kconfig:48) will have no effect, as defaults do not affect choice symbols
warning: the choice symbol SEC_CERT_DAC_PROVIDER (defined at /home/robbe/esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/components/chip/Kconfig:815, /home/robbe/esp/esp-matter/components/esp_matter/Kconfig:48) is defined with a prompt outside the choice
info: INFO: Symbol SEC_CERT_DAC_PROVIDER defined in multiple locations (see below). Please check if this is a correct behavior or a random name match:
    /home/robbe/esp/esp-matter/components/esp_matter/Kconfig:48
    /home/robbe/esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/components/chip/Kconfig:815
info: INFO: Symbol ENV_MAX_LEDS defined in multiple locations (see below). Please check if this is a correct behavior or a random name match:
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:348
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:343
info: INFO: Symbol ENV_GPIO_RANGE_MIN defined in multiple locations (see below). Please check if this is a correct behavior or a random name match:
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:684
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:753
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:648
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:702
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:630
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:666
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:719
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:613
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:736
info: INFO: Symbol ENV_GPIO_RANGE_MAX defined in multiple locations (see below). Please check if this is a correct behavior or a random name match:
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:688
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:670
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:652
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:740
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:634
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:757
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:617
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:706
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:723
info: INFO: Symbol ENV_GPIO_IN_RANGE_MAX defined in multiple locations (see below). Please check if this is a correct behavior or a random name match:
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:621
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:639
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:710
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:727
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:693
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:761
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:657
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:744
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:675
info: INFO: Symbol ENV_GPIO_OUT_RANGE_MAX defined in multiple locations (see below). Please check if this is a correct behavior or a random name match:
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:697
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:765
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:625
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:661
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:731
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:643
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:679
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:714
    /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit/Kconfig:748
Loading defaults file /home/robbe/esp/esp-matter/examples/light/sdkconfig.defaults...
warning: unknown kconfig symbol 'ENABLE_WIFI_AP' assigned to 'n' in /home/robbe/esp/esp-matter/examples/light/sdkconfig.defaults
Loading defaults file /home/robbe/esp/esp-matter/examples/light/sdkconfig.defaults.esp32c6...
warning: unknown kconfig symbol 'ENABLE_WIFI_AP' assigned to 'n' in /home/robbe/esp/esp-matter/examples/light/sdkconfig.defaults.esp32c6
-- Adding linker script /home/robbe/esp/esp-idf/components/riscv/ld/rom.api.ld
-- App "light" version: 1.0
-- Adding linker script /home/robbe/esp/esp-matter/examples/light/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /home/robbe/esp/esp-matter/examples/light/build/esp-idf/esp_system/ld/sections.ld.in
-- Adding linker script /home/robbe/esp/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.ld
-- Adding linker script /home/robbe/esp/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.api.ld
-- Adding linker script /home/robbe/esp/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.rvfp.ld
-- Adding linker script /home/robbe/esp/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.wdt.ld
-- Adding linker script /home/robbe/esp/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.systimer.ld
-- Adding linker script /home/robbe/esp/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.version.ld
-- Adding linker script /home/robbe/esp/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.phy.ld
-- Adding linker script /home/robbe/esp/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.coexist.ld
-- Adding linker script /home/robbe/esp/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.net80211.ld
-- Adding linker script /home/robbe/esp/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.pp.ld
-- Adding linker script /home/robbe/esp/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.newlib.ld
-- Adding linker script /home/robbe/esp/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.newlib-normal.ld
-- Adding linker script /home/robbe/esp/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.heap.ld
-- Adding linker script /home/robbe/esp/esp-idf/components/soc/esp32c6/ld/esp32c6.peripherals.ld
-- BUTTON: 3.5.0
-- LED_INDICATOR: 0.9.3
ESP Insights Project commit: e2a83f8
-- Components: app_bridge app_reset app_trace app_update bootloader bootloader_support bt chip cmock console cxx driver efuse esp-tls esp_adc esp_app_format esp_bootloader_format esp_coex esp_common esp_driver_ana_cmpr esp_driver_cam esp_driver_dac esp_driver_gpio esp_driver_gptimer esp_driver_i2c esp_driver_i2s esp_driver_isp esp_driver_jpeg esp_driver_ledc esp_driver_mcpwm esp_driver_parlio esp_driver_pcnt esp_driver_ppa esp_driver_rmt esp_driver_sdio esp_driver_sdm esp_driver_sdmmc esp_driver_sdspi esp_driver_spi esp_driver_touch_sens esp_driver_tsens esp_driver_uart esp_driver_usb_serial_jtag esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_lcd esp_local_ctrl esp_matter esp_matter_bridge esp_matter_console esp_matter_controller esp_matter_ota_provider esp_matter_rainmaker esp_mm esp_netif esp_netif_stack esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_security esp_system esp_timer esp_vfs_console esp_wifi espcoredump espressif__button espressif__cbor espressif__cmake_utilities espressif__esp-serial-flasher espressif__esp_bsp_devkit espressif__esp_delta_ota espressif__esp_diag_data_store espressif__esp_diagnostics espressif__esp_encrypted_img espressif__esp_insights espressif__esp_rcp_update espressif__esp_secure_cert_mgr espressif__jsmn espressif__json_generator espressif__json_parser espressif__led_indicator espressif__led_strip espressif__mdns espressif__rmaker_common esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls mqtt newlib nvs_flash nvs_sec_provider openthread partition_table protobuf-c protocomm pthread riscv rt sdmmc soc spi_flash spiffs tcp_transport ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant
-- Component paths: /home/robbe/esp/esp-matter/examples/common/app_bridge /home/robbe/esp/esp-matter/examples/common/app_reset /home/robbe/esp/esp-idf/components/app_trace /home/robbe/esp/esp-idf/components/app_update /home/robbe/esp/esp-idf/components/bootloader /home/robbe/esp/esp-idf/components/bootloader_support /home/robbe/esp/esp-idf/components/bt /home/robbe/esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/components/chip /home/robbe/esp/esp-idf/components/cmock /home/robbe/esp/esp-idf/components/console /home/robbe/esp/esp-idf/components/cxx /home/robbe/esp/esp-idf/components/driver /home/robbe/esp/esp-idf/components/efuse /home/robbe/esp/esp-idf/components/esp-tls /home/robbe/esp/esp-idf/components/esp_adc /home/robbe/esp/esp-idf/components/esp_app_format /home/robbe/esp/esp-idf/components/esp_bootloader_format /home/robbe/esp/esp-idf/components/esp_coex /home/robbe/esp/esp-idf/components/esp_common /home/robbe/esp/esp-idf/components/esp_driver_ana_cmpr /home/robbe/esp/esp-idf/components/esp_driver_cam /home/robbe/esp/esp-idf/components/esp_driver_dac /home/robbe/esp/esp-idf/components/esp_driver_gpio /home/robbe/esp/esp-idf/components/esp_driver_gptimer /home/robbe/esp/esp-idf/components/esp_driver_i2c /home/robbe/esp/esp-idf/components/esp_driver_i2s /home/robbe/esp/esp-idf/components/esp_driver_isp /home/robbe/esp/esp-idf/components/esp_driver_jpeg /home/robbe/esp/esp-idf/components/esp_driver_ledc /home/robbe/esp/esp-idf/components/esp_driver_mcpwm /home/robbe/esp/esp-idf/components/esp_driver_parlio /home/robbe/esp/esp-idf/components/esp_driver_pcnt /home/robbe/esp/esp-idf/components/esp_driver_ppa /home/robbe/esp/esp-idf/components/esp_driver_rmt /home/robbe/esp/esp-idf/components/esp_driver_sdio /home/robbe/esp/esp-idf/components/esp_driver_sdm /home/robbe/esp/esp-idf/components/esp_driver_sdmmc /home/robbe/esp/esp-idf/components/esp_driver_sdspi /home/robbe/esp/esp-idf/components/esp_driver_spi /home/robbe/esp/esp-idf/components/esp_driver_touch_sens /home/robbe/esp/esp-idf/components/esp_driver_tsens /home/robbe/esp/esp-idf/components/esp_driver_uart /home/robbe/esp/esp-idf/components/esp_driver_usb_serial_jtag /home/robbe/esp/esp-idf/components/esp_eth /home/robbe/esp/esp-idf/components/esp_event /home/robbe/esp/esp-idf/components/esp_gdbstub /home/robbe/esp/esp-idf/components/esp_hid /home/robbe/esp/esp-idf/components/esp_http_client /home/robbe/esp/esp-idf/components/esp_http_server /home/robbe/esp/esp-idf/components/esp_https_ota /home/robbe/esp/esp-idf/components/esp_https_server /home/robbe/esp/esp-idf/components/esp_hw_support /home/robbe/esp/esp-idf/components/esp_lcd /home/robbe/esp/esp-idf/components/esp_local_ctrl /home/robbe/esp/esp-matter/components/esp_matter /home/robbe/esp/esp-matter/components/esp_matter_bridge /home/robbe/esp/esp-matter/components/esp_matter_console /home/robbe/esp/esp-matter/components/esp_matter_controller /home/robbe/esp/esp-matter/components/esp_matter_ota_provider /home/robbe/esp/esp-matter/components/esp_matter_rainmaker /home/robbe/esp/esp-idf/components/esp_mm /home/robbe/esp/esp-idf/components/esp_netif /home/robbe/esp/esp-idf/components/esp_netif_stack /home/robbe/esp/esp-idf/components/esp_partition /home/robbe/esp/esp-idf/components/esp_phy /home/robbe/esp/esp-idf/components/esp_pm /home/robbe/esp/esp-idf/components/esp_psram /home/robbe/esp/esp-idf/components/esp_ringbuf /home/robbe/esp/esp-idf/components/esp_rom /home/robbe/esp/esp-idf/components/esp_security /home/robbe/esp/esp-idf/components/esp_system /home/robbe/esp/esp-idf/components/esp_timer /home/robbe/esp/esp-idf/components/esp_vfs_console /home/robbe/esp/esp-idf/components/esp_wifi /home/robbe/esp/esp-idf/components/espcoredump /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__button /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__cbor /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__cmake_utilities /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp-serial-flasher /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_bsp_devkit /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_delta_ota /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_diag_data_store /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_diagnostics /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_encrypted_img /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_insights /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_rcp_update /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__esp_secure_cert_mgr /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__jsmn /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__json_generator /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__json_parser /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__led_indicator /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__led_strip /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__mdns /home/robbe/esp/esp-matter/examples/light/managed_components/espressif__rmaker_common /home/robbe/esp/esp-idf/components/esptool_py /home/robbe/esp/esp-idf/components/fatfs /home/robbe/esp/esp-idf/components/freertos /home/robbe/esp/esp-idf/components/hal /home/robbe/esp/esp-idf/components/heap /home/robbe/esp/esp-idf/components/http_parser /home/robbe/esp/esp-idf/components/idf_test /home/robbe/esp/esp-idf/components/ieee802154 /home/robbe/esp/esp-idf/components/json /home/robbe/esp/esp-idf/components/log /home/robbe/esp/esp-idf/components/lwip /home/robbe/esp/esp-matter/examples/light/main /home/robbe/esp/esp-idf/components/mbedtls /home/robbe/esp/esp-idf/components/mqtt /home/robbe/esp/esp-idf/components/newlib /home/robbe/esp/esp-idf/components/nvs_flash /home/robbe/esp/esp-idf/components/nvs_sec_provider /home/robbe/esp/esp-idf/components/openthread /home/robbe/esp/esp-idf/components/partition_table /home/robbe/esp/esp-idf/components/protobuf-c /home/robbe/esp/esp-idf/components/protocomm /home/robbe/esp/esp-idf/components/pthread /home/robbe/esp/esp-idf/components/riscv /home/robbe/esp/esp-idf/components/rt /home/robbe/esp/esp-idf/components/sdmmc /home/robbe/esp/esp-idf/components/soc /home/robbe/esp/esp-idf/components/spi_flash /home/robbe/esp/esp-idf/components/spiffs /home/robbe/esp/esp-idf/components/tcp_transport /home/robbe/esp/esp-idf/components/ulp /home/robbe/esp/esp-idf/components/unity /home/robbe/esp/esp-idf/components/usb /home/robbe/esp/esp-idf/components/vfs /home/robbe/esp/esp-idf/components/wear_levelling /home/robbe/esp/esp-idf/components/wifi_provisioning /home/robbe/esp/esp-idf/components/wpa_supplicant
-- Configuring done
-- Generating done
-- Build files have been written to: /home/robbe/esp/esp-matter/examples/light/build
@github-actions github-actions bot changed the title buillding problem Cmake loop buillding problem Cmake loop (CON-1571) Feb 27, 2025
@ravencarcass
Copy link
Author

ravencarcass commented Feb 27, 2025

This problem is kind a solved. I've re-install the complete git repo. I build the light example for the first time after the re-install and no problem. But I would later on build it again and it resolved in the following fail on the build terminal. I can't figure out what is wrong based on the terminal.

 *  Executing task: ninja  

[1/12] Performing build step for 'bootloader'
[1/1] cd /home/robbe/esp/light/build/bootloader/esp-idf/esptool_py && /home/robbe/.espressif/python_env/idf5.4_py3.10_env/bin/python /home/robbe/esp/esp-idf/components/partition_table/check_sizes.py --offset 0xc000 bootloader 0x0 /home/robbe/esp/light/build/bootloader/bootloader.bin
Bootloader binary size 0x55e0 bytes. 0x6a20 bytes (55%) free.
[2/10] Performing build step for 'chip_gn'
ninja: no work to do.
[3/8] Building CXX object esp-idf/ma...iles/__idf_main.dir/app_main.cpp.obj
FAILED: esp-idf/main/CMakeFiles/__idf_main.dir/app_main.cpp.obj 
/home/robbe/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/riscv32-esp-elf-g++ -DESP_PLATFORM -DIDF_VER=\"v5.4\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DMD5_ENABLED=1 -DSERIAL_FLASHER_BOOT_HOLD_TIME_MS=50 -DSERIAL_FLASHER_RESET_HOLD_TIME_MS=100 -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -DUNITY_INCLUDE_CONFIG_H -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -I/home/robbe/esp/light/build/config -I/home/robbe/esp/light/main -I/home/robbe/esp/esp-matter/examples/common/utils -I/home/robbe/esp/esp-idf/components/newlib/platform_include -I/home/robbe/esp/esp-idf/components/freertos/config/include -I/home/robbe/esp/esp-idf/components/freertos/config/include/freertos -I/home/robbe/esp/esp-idf/components/freertos/config/riscv/include -I/home/robbe/esp/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/robbe/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -I/home/robbe/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -I/home/robbe/esp/esp-idf/components/freertos/esp_additions/include -I/home/robbe/esp/esp-idf/components/esp_hw_support/include -I/home/robbe/esp/esp-idf/components/esp_hw_support/include/soc -I/home/robbe/esp/esp-idf/components/esp_hw_support/include/soc/esp32c6 -I/home/robbe/esp/esp-idf/components/esp_hw_support/dma/include -I/home/robbe/esp/esp-idf/components/esp_hw_support/ldo/include -I/home/robbe/esp/esp-idf/components/esp_hw_support/debug_probe/include -I/home/robbe/esp/esp-idf/components/esp_hw_support/port/esp32c6/. -I/home/robbe/esp/esp-idf/components/esp_hw_support/port/esp32c6/include -I/home/robbe/esp/esp-idf/components/esp_hw_support/port/esp32c6/private_include -I/home/robbe/esp/esp-idf/components/heap/include -I/home/robbe/esp/esp-idf/components/heap/tlsf -I/home/robbe/esp/esp-idf/components/log/include -I/home/robbe/esp/esp-idf/components/soc/include -I/home/robbe/esp/esp-idf/components/soc/esp32c6 -I/home/robbe/esp/esp-idf/components/soc/esp32c6/include -I/home/robbe/esp/esp-idf/components/soc/esp32c6/register -I/home/robbe/esp/esp-idf/components/hal/platform_port/include -I/home/robbe/esp/esp-idf/components/hal/esp32c6/include -I/home/robbe/esp/esp-idf/components/hal/include -I/home/robbe/esp/esp-idf/components/esp_rom/include -I/home/robbe/esp/esp-idf/components/esp_rom/esp32c6/include -I/home/robbe/esp/esp-idf/components/esp_rom/esp32c6/include/esp32c6 -I/home/robbe/esp/esp-idf/components/esp_rom/esp32c6 -I/home/robbe/esp/esp-idf/components/esp_common/include -I/home/robbe/esp/esp-idf/components/esp_system/include -I/home/robbe/esp/esp-idf/components/esp_system/port/soc -I/home/robbe/esp/esp-idf/components/esp_system/port/include/riscv -I/home/robbe/esp/esp-idf/components/esp_system/port/include/private -I/home/robbe/esp/esp-idf/components/riscv/include -I/home/robbe/esp/esp-idf/components/lwip/include -I/home/robbe/esp/esp-idf/components/lwip/include/apps -I/home/robbe/esp/esp-idf/components/lwip/include/apps/sntp -I/home/robbe/esp/esp-idf/components/lwip/lwip/src/include -I/home/robbe/esp/esp-idf/components/lwip/port/include -I/home/robbe/esp/esp-idf/components/lwip/port/freertos/include -I/home/robbe/esp/esp-idf/components/lwip/port/esp32xx/include -I/home/robbe/esp/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/robbe/esp/esp-idf/components/lwip/port/esp32xx/include/sys -I/home/robbe/esp/light/managed_components/espressif__esp_bsp_devkit/include -I/home/robbe/esp/esp-idf/components/driver/deprecated -I/home/robbe/esp/esp-idf/components/driver/i2c/include -I/home/robbe/esp/esp-idf/components/driver/touch_sensor/include -I/home/robbe/esp/esp-idf/components/driver/twai/include -I/home/robbe/esp/esp-idf/components/esp_pm/include -I/home/robbe/esp/esp-idf/components/esp_ringbuf/include -I/home/robbe/esp/esp-idf/components/esp_driver_gpio/include -I/home/robbe/esp/esp-idf/components/esp_driver_pcnt/include -I/home/robbe/esp/esp-idf/components/esp_driver_gptimer/include -I/home/robbe/esp/esp-idf/components/esp_driver_spi/include -I/home/robbe/esp/esp-idf/components/esp_driver_mcpwm/include -I/home/robbe/esp/esp-idf/components/esp_driver_ana_cmpr/include -I/home/robbe/esp/esp-idf/components/esp_driver_i2s/include -I/home/robbe/esp/esp-idf/components/esp_driver_sdmmc/include -I/home/robbe/esp/esp-idf/components/sdmmc/include -I/home/robbe/esp/esp-idf/components/esp_driver_sdspi/include -I/home/robbe/esp/esp-idf/components/esp_driver_sdio/include -I/home/robbe/esp/esp-idf/components/esp_driver_dac/include -I/home/robbe/esp/esp-idf/components/esp_driver_rmt/include -I/home/robbe/esp/esp-idf/components/esp_driver_tsens/include -I/home/robbe/esp/esp-idf/components/esp_driver_sdm/include -I/home/robbe/esp/esp-idf/components/esp_driver_i2c/include -I/home/robbe/esp/esp-idf/components/esp_driver_uart/include -I/home/robbe/esp/esp-idf/components/vfs/include -I/home/robbe/esp/esp-idf/components/esp_driver_ledc/include -I/home/robbe/esp/esp-idf/components/esp_driver_parlio/include -I/home/robbe/esp/esp-idf/components/esp_driver_usb_serial_jtag/include -I/home/robbe/esp/esp-idf/components/spiffs/include -I/home/robbe/esp/esp-idf/components/esp_partition/include -I/home/robbe/esp/esp-idf/components/fatfs/diskio -I/home/robbe/esp/esp-idf/components/fatfs/src -I/home/robbe/esp/esp-idf/components/fatfs/vfs -I/home/robbe/esp/esp-idf/components/wear_levelling/include -I/home/robbe/esp/light/managed_components/espressif__button/include -I/home/robbe/esp/esp-idf/components/esp_adc/include -I/home/robbe/esp/esp-idf/components/esp_adc/interface -I/home/robbe/esp/esp-idf/components/esp_adc/esp32c6/include -I/home/robbe/esp/esp-idf/components/esp_adc/deprecated/include -I/home/robbe/esp/light/managed_components/espressif__led_indicator/include -I/home/robbe/esp/light/managed_components/espressif__led_strip/include -I/home/robbe/esp/light/managed_components/espressif__led_strip/interface -I/home/robbe/esp/esp-idf/components/mbedtls/port/include -I/home/robbe/esp/esp-idf/components/mbedtls/mbedtls/include -I/home/robbe/esp/esp-idf/components/mbedtls/mbedtls/library -I/home/robbe/esp/esp-idf/components/mbedtls/esp_crt_bundle/include -I/home/robbe/esp/esp-idf/components/mbedtls/mbedtls/3rdparty/everest/include -I/home/robbe/esp/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m -I/home/robbe/esp/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m -I/home/robbe/esp/esp-idf/components/esp_app_format/include -I/home/robbe/esp/esp-idf/components/esp_bootloader_format/include -I/home/robbe/esp/esp-idf/components/app_update/include -I/home/robbe/esp/esp-idf/components/bootloader_support/include -I/home/robbe/esp/esp-idf/components/bootloader_support/bootloader_flash/include -I/home/robbe/esp/esp-idf/components/efuse/include -I/home/robbe/esp/esp-idf/components/efuse/esp32c6/include -I/home/robbe/esp/esp-idf/components/esp_mm/include -I/home/robbe/esp/esp-idf/components/spi_flash/include -I/home/robbe/esp/esp-idf/components/esp_security/include -I/home/robbe/esp/esp-idf/components/pthread/include -I/home/robbe/esp/esp-idf/components/esp_timer/include -I/home/robbe/esp/esp-idf/components/app_trace/include -I/home/robbe/esp/esp-idf/components/esp_event/include -I/home/robbe/esp/esp-idf/components/nvs_flash/include -I/home/robbe/esp/esp-idf/components/esp_phy/include -I/home/robbe/esp/esp-idf/components/esp_phy/esp32c6/include -I/home/robbe/esp/esp-idf/components/esp_vfs_console/include -I/home/robbe/esp/esp-idf/components/esp_netif/include -I/home/robbe/esp/esp-idf/components/wpa_supplicant/include -I/home/robbe/esp/esp-idf/components/wpa_supplicant/port/include -I/home/robbe/esp/esp-idf/components/wpa_supplicant/esp_supplicant/include -I/home/robbe/esp/esp-idf/components/esp_coex/include -I/home/robbe/esp/esp-idf/components/esp_wifi/include -I/home/robbe/esp/esp-idf/components/esp_wifi/include/local -I/home/robbe/esp/esp-idf/components/esp_wifi/wifi_apps/include -I/home/robbe/esp/esp-idf/components/esp_wifi/wifi_apps/nan_app/include -I/home/robbe/esp/esp-idf/components/bt/include/esp32c6/include -I/home/robbe/esp/esp-idf/components/bt/common/osi/include -I/home/robbe/esp/esp-idf/components/bt/common/api/include/api -I/home/robbe/esp/esp-idf/components/bt/common/btc/profile/esp/blufi/include -I/home/robbe/esp/esp-idf/components/bt/common/btc/profile/esp/include -I/home/robbe/esp/esp-idf/components/bt/common/hci_log/include -I/home/robbe/esp/esp-idf/components/bt/porting/include -I/home/robbe/esp/esp-idf/components/bt/porting/npl/freertos/include -I/home/robbe/esp/esp-idf/components/bt/porting/transport/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/ans/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/bas/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/dis/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/gap/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/gatt/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/hr/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/htp/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/ias/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/ipss/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/lls/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/prox/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/cts/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/tps/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/hid/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/sps/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/cte/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/util/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/store/ram/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/store/config/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/porting/nimble/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/port/include -I/home/robbe/esp/esp-idf/components/bt/host/nimble/nimble/nimble/transport/include -I/home/robbe/esp/esp-idf/components/unity/include -I/home/robbe/esp/esp-idf/components/unity/unity/src -I/home/robbe/esp/esp-idf/components/cmock/CMock/src -I/home/robbe/esp/esp-idf/components/console -I/home/robbe/esp/esp-idf/components/http_parser -I/home/robbe/esp/esp-idf/components/esp-tls -I/home/robbe/esp/esp-idf/components/esp-tls/esp-tls-crypto -I/home/robbe/esp/esp-idf/components/esp_driver_isp/include -I/home/robbe/esp/esp-idf/components/esp_driver_cam/include -I/home/robbe/esp/esp-idf/components/esp_driver_cam/interface -I/home/robbe/esp/esp-idf/components/esp_driver_jpeg/include -I/home/robbe/esp/esp-idf/components/esp_driver_ppa/include -I/home/robbe/esp/esp-idf/components/esp_eth/include -I/home/robbe/esp/esp-idf/components/esp_gdbstub/include -I/home/robbe/esp/esp-idf/components/esp_hid/include -I/home/robbe/esp/esp-idf/components/tcp_transport/include -I/home/robbe/esp/esp-idf/components/esp_http_client/include -I/home/robbe/esp/esp-idf/components/esp_http_server/include -I/home/robbe/esp/esp-idf/components/esp_https_ota/include -I/home/robbe/esp/esp-idf/components/esp_https_server/include -I/home/robbe/esp/esp-idf/components/esp_psram/include -I/home/robbe/esp/esp-idf/components/esp_lcd/include -I/home/robbe/esp/esp-idf/components/esp_lcd/interface -I/home/robbe/esp/esp-idf/components/protobuf-c/protobuf-c -I/home/robbe/esp/esp-idf/components/protocomm/include/common -I/home/robbe/esp/esp-idf/components/protocomm/include/security -I/home/robbe/esp/esp-idf/components/protocomm/include/transports -I/home/robbe/esp/esp-idf/components/protocomm/include/crypto/srp6a -I/home/robbe/esp/esp-idf/components/protocomm/proto-c -I/home/robbe/esp/esp-idf/components/esp_local_ctrl/include -I/home/robbe/esp/esp-idf/components/espcoredump/include -I/home/robbe/esp/esp-idf/components/espcoredump/include/port/riscv -I/home/robbe/esp/esp-idf/components/idf_test/include -I/home/robbe/esp/esp-idf/components/idf_test/include/esp32c6 -I/home/robbe/esp/esp-idf/components/ieee802154/include -I/home/robbe/esp/esp-idf/components/json/cJSON -I/home/robbe/esp/esp-idf/components/mqtt/esp-mqtt/include -I/home/robbe/esp/esp-idf/components/nvs_sec_provider/include -I/home/robbe/esp/esp-idf/components/rt/include -I/home/robbe/esp/esp-idf/components/wifi_provisioning/include -I/home/robbe/esp/light/managed_components/espressif__esp_delta_ota/include -I/home/robbe/esp/light/managed_components/espressif__esp_encrypted_img/include -I/home/robbe/esp/light/managed_components/espressif__rmaker_common/include -I/home/robbe/esp/light/managed_components/espressif__esp_diagnostics/include -I/home/robbe/esp/light/managed_components/espressif__cbor/port/include -I/home/robbe/esp/light/managed_components/espressif__esp_diag_data_store/src/rtc_store -I/home/robbe/esp/light/managed_components/espressif__esp_diag_data_store/include -I/home/robbe/esp/light/managed_components/espressif__esp_insights/include -I/home/robbe/esp/light/managed_components/espressif__mdns/include -I/home/robbe/esp/light/managed_components/espressif__esp-serial-flasher/include -I/home/robbe/esp/light/managed_components/espressif__esp-serial-flasher/port -I/home/robbe/esp/light/managed_components/espressif__esp_rcp_update/include -I/home/robbe/esp/light/managed_components/espressif__esp_secure_cert_mgr/include -I/home/robbe/esp/esp-matter/connectedhomeip/connectedhomeip/src/platform/ESP32 -I/home/robbe/esp/esp-matter/connectedhomeip/connectedhomeip/src/platform/OpenThread -I/home/robbe/esp/esp-matter/connectedhomeip/connectedhomeip/src/include -I/home/robbe/esp/esp-matter/connectedhomeip/connectedhomeip/src/lib -I/home/robbe/esp/esp-matter/connectedhomeip/connectedhomeip/src -I/home/robbe/esp/esp-matter/connectedhomeip/connectedhomeip/zzz_generated/app-common -I/home/robbe/esp/esp-matter/connectedhomeip/connectedhomeip/examples/platform/esp32 -I/home/robbe/esp/esp-matter/connectedhomeip/connectedhomeip/third_party/nlassert/repo/include -I/home/robbe/esp/esp-matter/connectedhomeip/connectedhomeip/third_party/nlio/repo/include -I/home/robbe/esp/light/build/esp-idf/chip/src/include -I/home/robbe/esp/light/build/esp-idf/chip/include -I/home/robbe/esp/light/build/esp-idf/chip/gen/include -I/home/robbe/esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32 -I/home/robbe/esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/../.. -I/home/robbe/esp/esp-matter/components/esp_matter_console -I/home/robbe/esp/esp-matter/components/esp_matter -I/home/robbe/esp/esp-matter/components/esp_matter/utils -I/home/robbe/esp/esp-matter/connectedhomeip/connec
 *  The terminal process "ninja" terminated with exit code: 1. 

You can solve this with the following: after opening VSCode via the terminal, do you need to select your device (esp32c6) and the USB (/dev/ttyUSB0). I build it again and it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant