My code is working, but due to the light sleep, the GPIO button clicks don't always register. I believe that going to the espressif/button with low power support will help (https://docs.espressif.com/projects/esp ... #low-power). I checked the version history of the espressif/button and the low power didn't come in until version 3.1, so I opted to move to the latest version.
I'm using esp-idf version 5.2.3 (following the esp-matter guide) and the latest esp-matter version.
I have updated my idf_component.yml file to this:
Code: Untitled.yml Select all
dependencies:
espressif/button: ">=3.3.2"
I have deleted the build folder, the dependencies.lock file and the managed_components folder.
When I execute the idf.py set-target or idf.py reconfigure I get this error:
Code: Untitled.cmake Select all
CMake Error at /home/tomasmcguinness/esp/esp-idf/tools/cmake/build.cmake:552 (message):
ERROR: Because project depends on both espressif/button (>=3.3.2) and
espressif/button (=2.5.0), version solving failed.
I cannot figure out what is referencing the 2.5.0 version of the button.
Any advice on where to look?? Is the dependencies much lower down??