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

ESP Matter framework support #854

Open
Diegorro98 opened this issue Jul 14, 2022 · 14 comments
Open

ESP Matter framework support #854

Diegorro98 opened this issue Jul 14, 2022 · 14 comments

Comments

@Diegorro98
Copy link

Matter is near to the release, and Espressif has developed a Matter development framework for Espressif’s ESP32 series SoCs (repo).

It would be great to add this framework to PlatformIO as a package in this platform, although it might need some special settings because it uses esp-idf, so it will require framework-espidf to be installed and I think it should advertise the huge size of the framework (18 GB more or less right now) due to the Matter git submodule, maybe in the future some parts from the Matter sdk can be omitted so that only is downloaded what is needed.

I've issued this request on esp-matter repo too: espressif/esp-matter#4

I also have tried to migrate the light project example from the repo to a platofmio project, but I had errors on cmake.

@valeros valeros changed the title esp-matter framework support ESP Matter framework support Jul 14, 2022
@ivankravets ivankravets pinned this issue Jul 19, 2022
@Yacubane
Copy link

Yacubane commented Oct 8, 2022

Matter has reached version 1.0, so maybe it's worth to bring back this topic

@MassimilianoMontagni
Copy link

+1

@daniel-frenkel
Copy link

+1000

@ZweiEuro
Copy link

Is there any update on this or does someone know of some blog / project that sets something like this up in the PIO environment ?

@Suxsem
Copy link

Suxsem commented Sep 25, 2023

We need this

@ZweiEuro
Copy link

ZweiEuro commented Oct 9, 2023

@valeros is there anything like this planned? I pretty much have the choice of implementing all the services myself or just implement matter... if possible I'd like to use it cleanly in an esp32 platformio project

@leonhma
Copy link

leonhma commented Oct 30, 2023

+10000

@hcglhcgl
Copy link

hcglhcgl commented Nov 7, 2023

@Diegorro98 I see you have some repositories with attempted fixes for PlatformIO. Did you ever succeed in compiling using esp-matter in PIO ?

@Diegorro98
Copy link
Author

@hcglhcgl no, sorry

@OTTIndia
Copy link

OTTIndia commented Jan 2, 2024

Can working dimmable

@Eme112
Copy link

Eme112 commented May 2, 2024

I'm also having trouble including esp-matter in the PIO environment. It would be great if someone figured it out!

@OTTIndia
Copy link

How to own create docker run --network host --privileged -v

:/data ghcr.io/music-assistant/server

@WhereAreBugs
Copy link

WhereAreBugs commented Jul 22, 2024

I Just pass the cmake stage, just simply rename the src folder from src to main. But still have problem in build stage. PlatformIO haven't process the build options correctly, cause the build script failed. Here are the problems:

1. platformIO seems cannot index all the components which is include by EXTRA_COMPONENT_DIRS

So to make matter framework work(at least the example-light), we should add all the components manually.
All the problems are listed blow in idf_component_register function.
Just open the main component's CMakeLists.txt:16, and add lines below:

REQUIRES
        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_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_rainmaker esp_matter_thread_br esp_mm esp_netif esp_netif_stack esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump

2. Some build options may be wrongly explained by shells

For Example, the build log:

/opt/homebrew/bin/pio run -t upload -v -e esp32-s3-devkitm-1
Processing esp32-s3-devkitm-1 (platform: espressif32; board: esp32-s3-devkitm-1; framework: espidf)
--------------------------------------------------------------------------------
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-s3-devkitm-1.html
PLATFORM: Espressif 32 (6.7.0) > Espressif ESP32-S3-DevKitM-1
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash
DEBUG: Current (esp-builtin) On-board (esp-builtin) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: 
 - framework-espidf @ 3.50201.240515 (5.2.1) 
 - tool-cmake @ 3.16.4 
 - tool-esptoolpy @ 1.40501.0 (4.5.1) 
 - tool-mkfatfs @ 2.0.1 
 - tool-mklittlefs @ 1.203.210628 (2.3) 
 - tool-mkspiffs @ 2.230.0 (2.30) 
 - tool-ninja @ 1.9.0 
 - tool-riscv32-esp-elf-gdb @ 12.1.0+20221002 
 - tool-xtensa-esp-elf-gdb @ 12.1.0+20221002 
 - toolchain-esp32ulp @ 1.23500.220830 (2.35.0) 
 - toolchain-riscv32-esp @ 13.2.0+20230928 
 - toolchain-xtensa-esp-elf @ 13.2.0+20230928
Reading CMake configuration...
[email protected]/tools/cmake/scripts/data_file_embed_asm.cmake
Warning! Flash memory size mismatch detected. Expected 8MB, found 2MB!
Please select a proper value in your `sdkconfig.defaults` or via the `menuconfig` target!
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
xtensa-esp32s3-elf-g++ -o .pio/build/esp32-s3-devkitm-1/main/app_driver.cpp.o -c -DCHIP_ADDRESS_RESOLVE_IMPL_INCLUDE_HEADER=<lib/address_resolve/AddressResolve_DefaultImpl.h> -I/Users/cat/cil/esp-matter/components/esp_matter -Og -Os -Wall -Werror=all -Wextra -Wno-enum-conversion -Wno-error=array-bounds -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=unused-but-set-variable -Wno-error=unused-function -Wno-error=unused-variable -Wno-format-nonliteral -Wno-format-security -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wno-write-strings -fdata-sections -fdiagnostics-color=always -ffunction-sections -fmacro-prefix-map=/Users/cat/.platformio/packages/[email protected]=/IDF -fmacro-prefix-map=/Users/cat/CLionProjects/untitled=. -fno-exceptions -fno-jump-tables -fno-rtti -fno-shrink-wrap -fno-tree-switch-conversion -fstrict-volatile-bitfields -gdwarf-4 -ggdb -mlongcalls -std=gnu++17 -std=gnu++2b -mlongcalls -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-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fno-shrink-wrap -fmacro-prefix-map=/Users/cat/CLionProjects/untitled=. -fmacro-prefix-map=/Users/cat/.platformio/packages/[email protected]=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -Wno-error=uninitialized -Wno-error=maybe-uninitialized -Wno-missing-field-initializers -Wno-error=array-bounds -Wno-write-strings -Wno-format-nonliteral -Wno-format-security -fno-exceptions -fno-rtti -Os -DLED_INDICATOR_VER_PATCH=3 -DLED_INDICATOR_VER_MINOR=9 -DLED_INDICATOR_VER_MAJOR=0 -DBUTTON_VER_PATCH=3 -DBUTTON_VER_MINOR=2 -DBUTTON_VER_MAJOR=3 -DCHIP_HAVE_CONFIG_H -D_POSIX_READER_WRITER_LOCKS -D_GNU_SOURCE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -DUNITY_INCLUDE_CONFIG_H -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DLV_CONF_INCLUDE_SIMPLE -DIDF_VER=\"5.2.1\" -DESP_PLATFORM -DPLATFORMIO=60115 -DARDUINO_ESP32S3_DEV -DARDUINO_USB_MODE=1 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DCHIP_ADDRESS_RESOLVE_IMPL_INCLUDE_HEADER=<lib/address_resolve/AddressResolve_DefaultImpl.h> -I/Users/cat/.platformio/packages/[email protected]/components/xtensa/esp32s3/include -I/Users/cat/.platformio/packages/[email protected]/components/xtensa/include -I/Users/cat/.platformio/packages/[email protected]/components/xtensa/deprecated_include -I.pio/build/esp32-s3-devkitm-1/config -I/Users/cat/.platformio/packages/[email protected]/components/newlib/platform_include -I/Users/cat/.platformio/packages/[email protected]/components/freertos/config/include -I/Users/cat/.platformio/packages/[email protected]/components/freertos/config/include/freertos -I/Users/cat/.platformio/packages/[email protected]/components/freertos/config/xtensa/include -I/Users/cat/.platformio/packages/[email protected]/components/freertos/FreeRTOS-Kernel/include -I/Users/cat/.platformio/packages/[email protected]/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -I/Users/cat/.platformio/packages/[email protected]/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos -I/Users/cat/.platformio/packages/[email protected]/components/freertos/esp_additions/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_hw_support/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_hw_support/include/soc -I/Users/cat/.platformio/packages/[email protected]/components/esp_hw_support/include/soc/esp32s3 -I/Users/cat/.platformio/packages/[email protected]/components/esp_hw_support/port/esp32s3 -I/Users/cat/.platformio/packages/[email protected]/components/heap/include -I/Users/cat/.platformio/packages/[email protected]/components/log/include -I/Users/cat/.platformio/packages/[email protected]/components/soc/include -I/Users/cat/.platformio/packages/[email protected]/components/soc/esp32s3 -I/Users/cat/.platformio/packages/[email protected]/components/soc/esp32s3/include -I/Users/cat/.platformio/packages/[email protected]/components/hal/platform_port/include -I/Users/cat/.platformio/packages/[email protected]/components/hal/esp32s3/include -I/Users/cat/.platformio/packages/[email protected]/components/hal/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_rom/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_rom/include/esp32s3 -I/Users/cat/.platformio/packages/[email protected]/components/esp_rom/esp32s3 -I/Users/cat/.platformio/packages/[email protected]/components/esp_common/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_system/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_system/port/soc -I/Users/cat/.platformio/packages/[email protected]/components/esp_system/port/include/private -I/Users/cat/.platformio/packages/[email protected]/components/lwip/include -I/Users/cat/.platformio/packages/[email protected]/components/lwip/include/apps -I/Users/cat/.platformio/packages/[email protected]/components/lwip/include/apps/sntp -I/Users/cat/.platformio/packages/[email protected]/components/lwip/lwip/src/include -I/Users/cat/.platformio/packages/[email protected]/components/lwip/port/include -I/Users/cat/.platformio/packages/[email protected]/components/lwip/port/freertos/include -I/Users/cat/.platformio/packages/[email protected]/components/lwip/port/esp32xx/include -I/Users/cat/.platformio/packages/[email protected]/components/lwip/port/esp32xx/include/arch -I/Users/cat/.platformio/packages/[email protected]/components/lwip/port/esp32xx/include/sys -I/Users/cat/.platformio/packages/[email protected]/components/esp_ringbuf/include -I/Users/cat/.platformio/packages/[email protected]/components/efuse/include -I/Users/cat/.platformio/packages/[email protected]/components/efuse/esp32s3/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_timer/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_mm/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/deprecated -I/Users/cat/.platformio/packages/[email protected]/components/driver/analog_comparator/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/dac/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/gpio/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/gptimer/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/i2c/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/i2s/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/ledc/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/mcpwm/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/parlio/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/pcnt/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/rmt/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/sdio_slave/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/sdmmc/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/sigma_delta/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/spi/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/temperature_sensor/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/touch_sensor/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/twai/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/uart/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/usb_serial_jtag/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/touch_sensor/esp32s3/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_pm/include -I/Users/cat/.platformio/packages/[email protected]/components/mbedtls/port/include -I/Users/cat/.platformio/packages/[email protected]/components/mbedtls/mbedtls/include -I/Users/cat/.platformio/packages/[email protected]/components/mbedtls/mbedtls/library -I/Users/cat/.platformio/packages/[email protected]/components/mbedtls/esp_crt_bundle/include -I/Users/cat/.platformio/packages/[email protected]/components/mbedtls/mbedtls/3rdparty/everest/include -I/Users/cat/.platformio/packages/[email protected]/components/mbedtls/mbedtls/3rdparty/p256-m -I/Users/cat/.platformio/packages/[email protected]/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m -I/Users/cat/.platformio/packages/[email protected]/components/esp_bootloader_format/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_app_format/include -I/Users/cat/.platformio/packages/[email protected]/components/bootloader_support/include -I/Users/cat/.platformio/packages/[email protected]/components/bootloader_support/bootloader_flash/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_partition/include -I/Users/cat/.platformio/packages/[email protected]/components/app_update/include -I/Users/cat/.platformio/packages/[email protected]/components/spi_flash/include -I/Users/cat/.platformio/packages/[email protected]/components/pthread/include -I/Users/cat/.platformio/packages/[email protected]/components/app_trace/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_event/include -I/Users/cat/.platformio/packages/[email protected]/components/nvs_flash/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_phy/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_phy/esp32s3/include -I/Users/cat/.platformio/packages/[email protected]/components/vfs/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_netif/include -I/Users/cat/.platformio/packages/[email protected]/components/wpa_supplicant/include -I/Users/cat/.platformio/packages/[email protected]/components/wpa_supplicant/port/include -I/Users/cat/.platformio/packages/[email protected]/components/wpa_supplicant/esp_supplicant/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_coex/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_wifi/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_wifi/wifi_apps/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/include/esp32c3/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/common/osi/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/common/api/include/api -I/Users/cat/.platformio/packages/[email protected]/components/bt/common/btc/profile/esp/blufi/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/common/btc/profile/esp/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/ans/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/bas/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/dis/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/gap/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/gatt/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/hr/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/htp/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/ias/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/ipss/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/lls/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/prox/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/cts/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/tps/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/hid/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/sps/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/util/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/store/ram/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/store/config/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/porting/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/porting/nimble/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/port/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/transport/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/porting/npl/freertos/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/esp-hci/include -I/Users/cat/.platformio/packages/[email protected]/components/unity/include -I/Users/cat/.platformio/packages/[email protected]/components/unity/unity/src -I/Users/cat/.platformio/packages/[email protected]/components/cmock/CMock/src -I/Users/cat/.platformio/packages/[email protected]/components/console -I/Users/cat/.platformio/packages/[email protected]/components/http_parser -I/Users/cat/.platformio/packages/[email protected]/components/esp-tls -I/Users/cat/.platformio/packages/[email protected]/components/esp-tls/esp-tls-crypto -I/Users/cat/.platformio/packages/[email protected]/components/esp_adc/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_adc/interface -I/Users/cat/.platformio/packages/[email protected]/components/esp_adc/esp32s3/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_adc/deprecated/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_eth/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_gdbstub/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_hid/include -I/Users/cat/.platformio/packages/[email protected]/components/tcp_transport/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_http_client/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_http_server/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_https_ota/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_psram/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_lcd/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_lcd/interface -I/Users/cat/.platformio/packages/[email protected]/components/protobuf-c/protobuf-c -I/Users/cat/.platformio/packages/[email protected]/components/protocomm/include/common -I/Users/cat/.platformio/packages/[email protected]/components/protocomm/include/security -I/Users/cat/.platformio/packages/[email protected]/components/protocomm/include/transports -I/Users/cat/.platformio/packages/[email protected]/components/protocomm/include/crypto/srp6a -I/Users/cat/.platformio/packages/[email protected]/components/esp_local_ctrl/include -I/Users/cat/.platformio/packages/[email protected]/components/espcoredump/include -I/Users/cat/.platformio/packages/[email protected]/components/espcoredump/include/port/xtensa -I/Users/cat/.platformio/packages/[email protected]/components/wear_levelling/include -I/Users/cat/.platformio/packages/[email protected]/components/sdmmc/include -I/Users/cat/.platformio/packages/[email protected]/components/fatfs/diskio -I/Users/cat/.platformio/packages/[email protected]/components/fatfs/src -I/Users/cat/.platformio/packages/[email protected]/components/fatfs/vfs -I/Users/cat/.platformio/packages/[email protected]/components/idf_test/include -I/Users/cat/.platformio/packages/[email protected]/components/idf_test/include/esp32s3 -I/Users/cat/.platformio/packages/[email protected]/components/ieee802154/include -I/Users/cat/.platformio/packages/[email protected]/components/json/cJSON -I/Users/cat/.platformio/packages/[email protected]/components/mqtt/esp-mqtt/include -I/Users/cat/.platformio/packages/[email protected]/components/nvs_sec_provider/include -I/Users/cat/.platformio/packages/[email protected]/components/perfmon/include -I/Users/cat/.platformio/packages/[email protected]/components/spiffs/include -I/Users/cat/.platformio/packages/[email protected]/components/touch_element/include -I/Users/cat/.platformio/packages/[email protected]/components/usb/include -I/Users/cat/.platformio/packages/[email protected]/components/wifi_provisioning/include -Imanaged_components/espressif__esp_encrypted_img/include -Imanaged_components/espressif__rmaker_common/include -Imanaged_components/espressif__esp_diagnostics/include -Imanaged_components/espressif__cbor/port/include -Imanaged_components/espressif__esp_diag_data_store/src/rtc_store -Imanaged_components/espressif__esp_diag_data_store/include -Imanaged_components/espressif__esp_insights/include -Imanaged_components/espressif__mdns/include -Imanaged_components/espressif__esp_secure_cert_mgr/include -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/src/platform/ESP32 -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/src/platform/OpenThread -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/src/include -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/src/lib -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/src -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/zzz_generated/app-common -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/examples/platform/esp32 -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/third_party/nlassert/repo/include -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/third_party/nlio/repo/include -I.pio/build/esp32-s3-devkitm-1/esp-idf/chip/src/include -I.pio/build/esp32-s3-devkitm-1/esp-idf/chip/include -I.pio/build/esp32-s3-devkitm-1/esp-idf/chip/gen/include -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/config/esp32 -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip -I/Users/cat/cil/esp-matter/components/esp_matter_console -I/Users/cat/cil/esp-matter/components/esp_matter -I/Users/cat/cil/esp-matter/components/esp_matter/utils -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/third_party/nlfaultinjection/include -I/Users/cat/cil/esp-matter/components/esp_matter/zap_common -I/Users/cat/cil/esp-matter/components/esp_matter_bridge -I/Users/cat/cil/esp-matter/examples/common/app_bridge -Imanaged_components/espressif__button/include -I/Users/cat/cil/esp-matter/examples/common/app_reset -Imanaged_components/espressif__json_generator/include -Imanaged_components/espressif__jsmn/include -Imanaged_components/espressif__json_parser/include -I/Users/cat/cil/esp-matter/components/esp_matter_rainmaker -Imanaged_components/espressif__esp-serial-flasher/include -Imanaged_components/espressif__esp-serial-flasher/port -Imanaged_components/espressif__esp_rcp_update/include -I/Users/cat/cil/esp-matter/components/esp_matter_thread_br -Imanaged_components/lvgl__lvgl -Imanaged_components/lvgl__lvgl/src -Imanaged_components -Imanaged_components/lvgl__lvgl/examples -Imanaged_components/lvgl__lvgl/demos -Imanaged_components/espressif__esp_lvgl_port/include -Imanaged_components/espressif__led_strip/include -Imanaged_components/espressif__led_strip/interface -Imanaged_components/espressif__led_indicator/include -Imanaged_components/espressif__esp_lcd_gc9a01/include -Imanaged_components/espressif__esp_lcd_ili9341/include -Imanaged_components/espressif__esp_lcd_touch/include -Imanaged_components/espressif__esp_lcd_touch_cst816s/include -Imanaged_components/espressif__esp_lcd_touch_ft5x06/include -Imanaged_components/espressif__esp_lcd_touch_gt1151/include -Imanaged_components/espressif__esp_lcd_touch_gt911/include -Imanaged_components/espressif__esp_lcd_touch_tt21100/include -Imanaged_components/espressif__esp_bsp_generic/include -Iinclude -Imain -I. -Imain -I/Users/cat/cil/esp-matter/examples/common/utils -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/examples/temperature-measurement-app/esp32/main/include main/app_driver.cpp
sh: lib/address_resolve/AddressResolve_DefaultImpl.h: No such file or directory
xtensa-esp32s3-elf-g++ -o .pio/build/esp32-s3-devkitm-1/main/main.cpp.o -c -DCHIP_ADDRESS_RESOLVE_IMPL_INCLUDE_HEADER=<lib/address_resolve/AddressResolve_DefaultImpl.h> -I/Users/cat/cil/esp-matter/components/esp_matter -Og -Os -Wall -Werror=all -Wextra -Wno-enum-conversion -Wno-error=array-bounds -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=unused-but-set-variable -Wno-error=unused-function -Wno-error=unused-variable -Wno-format-nonliteral -Wno-format-security -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wno-write-strings -fdata-sections -fdiagnostics-co[o38r;=2;2al4w7ay;s8 4;-1f0f0umncti[n3-1sme*c*t*i o[.npsi o-/fbmuacrild/esp32-s3-devkitm-1/main/app_driver.cpp.o] Error 1
o-prefix-map=/Users/cat/.platformio/packages/[email protected]=/IDF -fmacro-prefix-map=/Users/cat/CLionProjects/untitled=. -fno-exceptions -fno-jump-tables -fno-rtti -fno-shrink-wrap -fno-tree-switch-conversion -fstrict-volatile-bitfields -gdwarf-4 -ggdb -mlongcalls -std=gnu++17 -std=gnu++2b -mlongcalls -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-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fno-shrink-wrap -fmacro-prefix-map=/Users/cat/CLionProjects/untitled=. -fmacro-prefix-map=/Users/cat/.platformio/packages/[email protected]=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -Wno-error=uninitialized -Wno-error=maybe-uninitialized -Wno-missing-field-initializers -Wno-error=array-bounds -Wno-write-strings -Wno-format-nonliteral -Wno-format-security -fno-exceptions -fno-rtti -Os -DLED_INDICATOR_VER_PATCH=3 -DLED_INDICATOR_VER_MINOR=9 -DLED_INDICATOR_VER_MAJOR=0 -DBUTTON_VER_PATCH=3 -DBUTTON_VER_MINOR=2 -DBUTTON_VER_MAJOR=3 -DCHIP_HAVE_CONFIG_H -D_POSIX_READER_WRITER_LOCKS -D_GNU_SOURCE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -DUNITY_INCLUDE_CONFIG_H -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DLV_CONF_INCLUDE_SIMPLE -DIDF_VER=\"5.2.1\" -DESP_PLATFORM -DPLATFORMIO=60115 -DARDUINO_ESP32S3_DEV -DARDUINO_USB_MODE=1 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DCHIP_ADDRESS_RESOLVE_IMPL_INCLUDE_HEADER=<lib/address_resolve/AddressResolve_DefaultImpl.h> -I/Users/cat/.platformio/packages/[email protected]/components/xtensa/esp32s3/include -I/Users/cat/.platformio/packages/[email protected]/components/xtensa/include -I/Users/cat/.platformio/packages/[email protected]/components/xtensa/deprecated_include -I.pio/build/esp32-s3-devkitm-1/config -I/Users/cat/.platformio/packages/[email protected]/components/newlib/platform_include -I/Users/cat/.platformio/packages/[email protected]/components/freertos/config/include -I/Users/cat/.platformio/packages/[email protected]/components/freertos/config/include/freertos -I/Users/cat/.platformio/packages/[email protected]/components/freertos/config/xtensa/include -I/Users/cat/.platformio/packages/[email protected]/components/freertos/FreeRTOS-Kernel/include -I/Users/cat/.platformio/packages/[email protected]/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -I/Users/cat/.platformio/packages/[email protected]/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos -I/Users/cat/.platformio/packages/[email protected]/components/freertos/esp_additions/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_hw_support/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_hw_support/include/soc -I/Users/cat/.platformio/packages/[email protected]/components/esp_hw_support/include/soc/esp32s3 -I/Users/cat/.platformio/packages/[email protected]/components/esp_hw_support/port/esp32s3 -I/Users/cat/.platformio/packages/[email protected]/components/heap/include -I/Users/cat/.platformio/packages/[email protected]/components/log/include -I/Users/cat/.platformio/packages/[email protected]/components/soc/include -I/Users/cat/.platformio/packages/[email protected]/components/soc/esp32s3 -I/Users/cat/.platformio/packages/[email protected]/components/soc/esp32s3/include -I/Users/cat/.platformio/packages/[email protected]/components/hal/platform_port/include -I/Users/cat/.platformio/packages/[email protected]/components/hal/esp32s3/include -I/Users/cat/.platformio/packages/[email protected]/components/hal/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_rom/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_rom/include/esp32s3 -I/Users/cat/.platformio/packages/[email protected]/components/esp_rom/esp32s3 -I/Users/cat/.platformio/packages/[email protected]/components/esp_common/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_system/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_system/port/soc -I/Users/cat/.platformio/packages/[email protected]/components/esp_system/port/include/private -I/Users/cat/.platformio/packages/[email protected]/components/lwip/include -I/Users/cat/.platformio/packages/[email protected]/components/lwip/include/apps -I/Users/cat/.platformio/packages/[email protected]/components/lwip/include/apps/sntp -I/Users/cat/.platformio/packages/[email protected]/components/lwip/lwip/src/include -I/Users/cat/.platformio/packages/[email protected]/components/lwip/port/include -I/Users/cat/.platformio/packages/[email protected]/components/lwip/port/freertos/include -I/Users/cat/.platformio/packages/[email protected]/components/lwip/port/esp32xx/include -I/Users/cat/.platformio/packages/[email protected]/components/lwip/port/esp32xx/include/arch -I/Users/cat/.platformio/packages/[email protected]/components/lwip/port/esp32xx/include/sys -I/Users/cat/.platformio/packages/[email protected]/components/esp_ringbuf/include -I/Users/cat/.platformio/packages/[email protected]/components/efuse/include -I/Users/cat/.platformio/packages/[email protected]/components/efuse/esp32s3/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_timer/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_mm/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/deprecated -I/Users/cat/.platformio/packages/[email protected]/components/driver/analog_comparator/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/dac/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/gpio/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/gptimer/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/i2c/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/i2s/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/ledc/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/mcpwm/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/parlio/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/pcnt/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/rmt/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/sdio_slave/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/sdmmc/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/sigma_delta/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/spi/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/temperature_sensor/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/touch_sensor/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/twai/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/uart/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/usb_serial_jtag/include -I/Users/cat/.platformio/packages/[email protected]/components/driver/touch_sensor/esp32s3/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_pm/include -I/Users/cat/.platformio/packages/[email protected]/components/mbedtls/port/include -I/Users/cat/.platformio/packages/[email protected]/components/mbedtls/mbedtls/include -I/Users/cat/.platformio/packages/[email protected]/components/mbedtls/mbedtls/library -I/Users/cat/.platformio/packages/[email protected]/components/mbedtls/esp_crt_bundle/include -I/Users/cat/.platformio/packages/[email protected]/components/mbedtls/mbedtls/3rdparty/everest/include -I/Users/cat/.platformio/packages/[email protected]/components/mbedtls/mbedtls/3rdparty/p256-m -I/Users/cat/.platformio/packages/[email protected]/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m -I/Users/cat/.platformio/packages/[email protected]/components/esp_bootloader_format/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_app_format/include -I/Users/cat/.platformio/packages/[email protected]/components/bootloader_support/include -I/Users/cat/.platformio/packages/[email protected]/components/bootloader_support/bootloader_flash/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_partition/include -I/Users/cat/.platformio/packages/[email protected]/components/app_update/include -I/Users/cat/.platformio/packages/[email protected]/components/spi_flash/include -I/Users/cat/.platformio/packages/[email protected]/components/pthread/include -I/Users/cat/.platformio/packages/[email protected]/components/app_trace/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_event/include -I/Users/cat/.platformio/packages/[email protected]/components/nvs_flash/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_phy/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_phy/esp32s3/include -I/Users/cat/.platformio/packages/[email protected]/components/vfs/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_netif/include -I/Users/cat/.platformio/packages/[email protected]/components/wpa_supplicant/include -I/Users/cat/.platformio/packages/[email protected]/components/wpa_supplicant/port/include -I/Users/cat/.platformio/packages/[email protected]/components/wpa_supplicant/esp_supplicant/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_coex/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_wifi/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_wifi/wifi_apps/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/include/esp32c3/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/common/osi/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/common/api/include/api -I/Users/cat/.platformio/packages/[email protected]/components/bt/common/btc/profile/esp/blufi/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/common/btc/profile/esp/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/ans/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/bas/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/dis/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/gap/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/gatt/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/hr/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/htp/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/ias/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/ipss/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/lls/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/prox/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/cts/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/tps/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/hid/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/services/sps/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/util/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/store/ram/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/host/store/config/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/porting/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/porting/nimble/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/port/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/nimble/transport/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/nimble/porting/npl/freertos/include -I/Users/cat/.platformio/packages/[email protected]/components/bt/host/nimble/esp-hci/include -I/Users/cat/.platformio/packages/[email protected]/components/unity/include -I/Users/cat/.platformio/packages/[email protected]/components/unity/unity/src -I/Users/cat/.platformio/packages/[email protected]/components/cmock/CMock/src -I/Users/cat/.platformio/packages/[email protected]/components/console -I/Users/cat/.platformio/packages/[email protected]/components/http_parser -I/Users/cat/.platformio/packages/[email protected]/components/esp-tls -I/Users/cat/.platformio/packages/[email protected]/components/esp-tls/esp-tls-crypto -I/Users/cat/.platformio/packages/[email protected]/components/esp_adc/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_adc/interface -I/Users/cat/.platformio/packages/[email protected]/components/esp_adc/esp32s3/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_adc/deprecated/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_eth/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_gdbstub/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_hid/include -I/Users/cat/.platformio/packages/[email protected]/components/tcp_transport/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_http_client/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_http_server/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_https_ota/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_psram/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_lcd/include -I/Users/cat/.platformio/packages/[email protected]/components/esp_lcd/interface -I/Users/cat/.platformio/packages/[email protected]/components/protobuf-c/protobuf-c -I/Users/cat/.platformio/packages/[email protected]/components/protocomm/include/common -I/Users/cat/.platformio/packages/[email protected]/components/protocomm/include/security -I/Users/cat/.platformio/packages/[email protected]/components/protocomm/include/transports -I/Users/cat/.platformio/packages/[email protected]/components/protocomm/include/crypto/srp6a -I/Users/cat/.platformio/packages/[email protected]/components/esp_local_ctrl/include -I/Users/cat/.platformio/packages/[email protected]/components/espcoredump/include -I/Users/cat/.platformio/packages/[email protected]/components/espcoredump/include/port/xtensa -I/Users/cat/.platformio/packages/[email protected]/components/wear_levelling/include -I/Users/cat/.platformio/packages/[email protected]/components/sdmmc/include -I/Users/cat/.platformio/packages/[email protected]/components/fatfs/diskio -I/Users/cat/.platformio/packages/[email protected]/components/fatfs/src -I/Users/cat/.platformio/packages/[email protected]/components/fatfs/vfs -I/Users/cat/.platformio/packages/[email protected]/components/idf_test/include -I/Users/cat/.platformio/packages/[email protected]/components/idf_test/include/esp32s3 -I/Users/cat/.platformio/packages/[email protected]/components/ieee802154/include -I/Users/cat/.platformio/packages/[email protected]/components/json/cJSON -I/Users/cat/.platformio/packages/[email protected]/components/mqtt/esp-mqtt/include -I/Users/cat/.platformio/packages/[email protected]/components/nvs_sec_provider/include -I/Users/cat/.platformio/packages/[email protected]/components/perfmon/include -I/Users/cat/.platformio/packages/[email protected]/components/spiffs/include -I/Users/cat/.platformio/packages/[email protected]/components/touch_element/include -I/Users/cat/.platformio/packages/[email protected]/components/usb/include -I/Users/cat/.platformio/packages/[email protected]/components/wifi_provisioning/include -Imanaged_components/espressif__esp_encrypted_img/include -Imanaged_components/espressif__rmaker_common/include -Imanaged_components/espressif__esp_diagnostics/include -Imanaged_components/espressif__cbor/port/include -Imanaged_components/espressif__esp_diag_data_store/src/rtc_store -Imanaged_components/espressif__esp_diag_data_store/include -Imanaged_components/espressif__esp_insights/include -Imanaged_components/espressif__mdns/include -Imanaged_components/espressif__esp_secure_cert_mgr/include -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/src/platform/ESP32 -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/src/platform/OpenThread -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/src/include -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/src/lib -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/src -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/zzz_generated/app-common -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/examples/platform/esp32 -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/third_party/nlassert/repo/include -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/third_party/nlio/repo/include -I.pio/build/esp32-s3-devkitm-1/esp-idf/chip/src/include -I.pio/build/esp32-s3-devkitm-1/esp-idf/chip/include -I.pio/build/esp32-s3-devkitm-1/esp-idf/chip/gen/include -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/config/esp32 -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip -I/Users/cat/cil/esp-matter/components/esp_matter_console -I/Users/cat/cil/esp-matter/components/esp_matter -I/Users/cat/cil/esp-matter/components/esp_matter/utils -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/third_party/nlfaultinjection/include -I/Users/cat/cil/esp-matter/components/esp_matter/zap_common -I/Users/cat/cil/esp-matter/components/esp_matter_bridge -I/Users/cat/cil/esp-matter/examples/common/app_bridge -Imanaged_components/espressif__button/include -I/Users/cat/cil/esp-matter/examples/common/app_reset -Imanaged_components/espressif__json_generator/include -Imanaged_components/espressif__jsmn/include -Imanaged_components/espressif__json_parser/include -I/Users/cat/cil/esp-matter/components/esp_matter_rainmaker -Imanaged_components/espressif__esp-serial-flasher/include -Imanaged_components/espressif__esp-serial-flasher/port -Imanaged_components/espressif__esp_rcp_update/include -I/Users/cat/cil/esp-matter/components/esp_matter_thread_br -Imanaged_components/lvgl__lvgl -Imanaged_components/lvgl__lvgl/src -Imanaged_components -Imanaged_components/lvgl__lvgl/examples -Imanaged_components/lvgl__lvgl/demos -Imanaged_components/espressif__esp_lvgl_port/include -Imanaged_components/espressif__led_strip/include -Imanaged_components/espressif__led_strip/interface -Imanaged_components/espressif__led_indicator/include -Imanaged_components/espressif__esp_lcd_gc9a01/include -Imanaged_components/espressif__esp_lcd_ili9341/include -Imanaged_components/espressif__esp_lcd_touch/include -Imanaged_components/espressif__esp_lcd_touch_cst816s/include -Imanaged_components/espressif__esp_lcd_touch_ft5x06/include -Imanaged_components/espressif__esp_lcd_touch_gt1151/include -Imanaged_components/espressif__esp_lcd_touch_gt911/include -Imanaged_components/espressif__esp_lcd_touch_tt21100/include -Imanaged_components/espressif__esp_bsp_generic/include -Iinclude -Imain -I. -Imain -I/Users/cat/cil/esp-matter/examples/common/utils -I/Users/cat/cil/esp-matter/connectedhomeip/connectedhomeip/examples/temperature-measurement-app/esp32/main/include main/main.cpp
sh: lib/address_resolve/AddressResolve_DefaultImpl.h: No such file or directory
*** [.pio/build/esp32-s3-devkitm-1/main/main.cpp.o] Error 1
========================================================================================================================= [FAILED] Took 18.96 seconds =========================================================================================================================

In fact, -DCHIP_ADDRESS_RESOLVE_IMPL_INCLUDE_HEADER=<lib/address_resolve/AddressResolve_DefaultImpl.h> caused this error happed.
That means we should change it to "-DCHIP_ADDRESS_RESOLVE_IMPL_INCLUDE_HEADER=<lib/address_resolve/AddressResolve_DefaultImpl.h>". Then this problem could temporarily solved.

3. Headers cannot be included correctly. [Unresolved]

3.1 PRIV_INCLUDE_DIRS has no effect.

In the official example, they use PRIV_INCLUDE_DIRS in idf_component_register, but it couldn't work with platformIO.

3.2 esp_matter includes extra stage, which will generate sources and headers.

matter should run some extra steps to generate some files , which could not be recognized, and this step is ignored.
It seems to have to involve a build scripts.

@Jason2866
Copy link
Contributor

It is working now. See #1455 Needed changes/fixes are done in branch development.

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

No branches or pull requests