Closed boguewaller closed 2 years ago
Found it. M5.begin() includes a Serial.begin(). The example code also includes a Serial.begin(). WDT timeout is apparently triggered by two calls. Not sure of the internal details, but it seems plausible and the problem has cleared. Thanks anyway.
Arduino IDE for M5Stack Core2 using Firebase RTDB. Example sketch to demo Firebase connection, (https://randomnerdtutorials.com/esp32-firebase-realtime-database/) compiles and runs fine. When I include M5Core2.h and use m5.begin() in setup in order to use the Core2 hardware (real time clock, for example), I drop into a boot loop: Guru Meditation Error: Core 1 panic'ed (Interrupt wdt timeout on CPU1).
If I omit the M5.begin(), everything about Firebase runs fine, but I am not able to access the M5's RTC or display screen. Crash appears to occur with Firebase.signUp().
Any suggestions on where to start?