Closed manamohan1 closed 1 year ago
I see an error setting up target. You will have to clean the stale files manually and give it another try. Please do rm -rf build sdkconfig
and then do idf.py set-target esp32c6
and idf.py build
.
manamohana@manamohana-HP-Laptop-15s-fq2xxx:~/ESP/esp-matter/examples/light$ idf.py set-target esp32c6
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Directory '/home/manamohana/ESP/esp-matter/examples/light/build' doesn't seem to be a CMake build directory. Refusing to automatically delete files in this directory. Delete the directory manually to 'clean' it.
Due to this error the build target is now ESP32 and not C6.
Also, looks like you are using esp-idf master branch, and we have not tested esp-matter on master branch. I would suggest you to please use the latest stable v5.1 release. i.e. v5.1 tag.
@manamohan1 In addition to @shubhamdp 's comment - In the attached log, your install.sh
command has failed for pkg-config
. Please refer this section in the documentation and install the pre-requisites for ESP-IDF and Matter: https://docs.espressif.com/projects/esp-matter/en/latest/esp32/developing.html#host-setup
@manamohan1 you need to typecast it on the connectedhomeip repository
Hi, I am getting the following error message during the idf.py build
../../../../../connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/lib/shell/streamer_esp32.cpp:61:35: note: in expansion of macro 'CONFIG_ESP_CONSOLE_UART_NUM' build_error.txt
61 | if (!uart_is_driver_installed(CONFIG_ESP_CONSOLE_UART_NUM))
Please find the attached file for complete console log.