Closed richievos closed 1 year ago
Debugging further, the matter start lines are what trigger the wifi error message:
void setup() {
...
// Start Matter device
esp_matter::start(on_device_event);
The lines that actually cause the fault are the ones immediately after that start call:
void setup() {
...
PrintOnboardingCodes(
chip::RendezvousInformationFlags(chip::RendezvousInformationFlag::kBLE));
I figured it out. It turned out the default espressif32 platform version was something like 6.0.1
whereas this needs 6.1.0
. I didn't catch that until just now after a series of debugging steps. The fix is update your platformio.ini to look like:
[env:esp32devarduino]
platform = espressif32@6.1.0
board = esp32dev
framework = arduino
board_build.partitions=min_spiffs.csv
I'll discuss long-term documentation for in #31.
I'm getting the following error when attempting to run the two endpoints example. I am using an ESP32 (WROOM) under platformio. I downloaded v1.0.0-beta.3, unzipped it, and copied all of src into lib/esp32-arduino-matter.
I then put all the code from that example into main-matter.cpp and disabled my existing main.cpp. There should be no other code really getting built.
Any pointers on if this an issue on my end would be appreciated. I'm also rebuilding the library myself in case there's any config settings I need to tune.
Error
Platformio.ini
esptool.py output