Closed aggaddam closed 1 year ago
when you installed the 5.1IDF did you do 'git submodules update --init'?
I gave up on IDF5.1 and went back to IDF4.4. I was getting some memory corruption that I could not identify the source of.
@jonsmirl I cloned using this command
git clone --recurse-submodules -b release/v5.1 https://github.com/espressif/esp-idf.git
@aggaddam Please use . ./install.sh
command again after cloning into release/v5.1.
@jadhavrohit924 I tried running again . ./install.sh
but still the same error exists when set idf.py set-target esp32c3
@aggaddam Can you please share the version of esptool
?
source $IDF_PATH/export.sh
python3 -m pip show esptool
@shubhamdp Here it is
Name: esptool Version: 4.5.1 Summary: A serial utility to communicate & flash code to Espressif chips. Home-page: https://github.com/espressif/esptool/ Author: Fredrik Ahlberg (themadinventor) & Angus Gratton (projectgus) & Espressif Systems Author-email: License: GPLv2+ Location: /home/agaddam/.espressif/python_env/idf5.1_py3.10_env/lib/python3.10/site-packages Requires: bitstring, cryptography, ecdsa, pyserial, reedsolo Required-by: esp-coredump
@aggaddam esptool
version is pretty new, so no problem with that. Also, have to execute the install.sh
script and not source it, sorry I missed it earlier.
For IDF, as per documentation, we have tested esp-matter on IDF commit bb9200ace from release/v5.1.
Can you please checkout that specific commit, update the submodules recursively, run install.sh and try again?
cd esp-idf
git checkout bb9200ace
git submodule --update --init --recursive
./install.sh
cd esp-matter
source esp-idf/export.sh
source export.sh
cd examples/light
idf.py ser-target esp32c3 build
@aggaddam It should ideally work with the above steps. Please close this issue if it works
@aggaddam I am closing this now. Please re-open by uploading (not pasting) appropriate logs if you are still unable to compile by following all the steps in the documentation.
I got the below error when i tried to set target as esp32 c3 with light example in ESP-Matter SDK
IDF version: release/v5.1 branch ESP-Matter SDK: Commit hash - d0d631bb237567864e3fcfb0fae7e146b6ef6b2c