Open iamJoeTaylor opened 1 year ago
I can confirm; I see the same problem with both a regular ESP32 and an ESP32-S2. Removing the interrupt lockout solves the issue for me as well. It must be something that changed between versions of the Arduino Core/ESP-IDF since FastLED hadn't changed.
This problem happens with both PlatformIO and Arduino IDE.
Arduino framework 2.0.4 is the last version that doesn't crash this way. More recent versions do. Not sure what the change was that brings out the problem.
@connornishijima do you remember why you were disabling interrupts for this section of code?
Describe the bug I had the same issue on a TinyPico and a Feather esp32. Calling
pix.begin
causes a failure in theFastLED.show
method because Pixie Chroma is callingnoInterrupts
. FastLED is waiting for interrupts to fire but the interrupts have been disabled causing it to hang and fail with watchdog.I had this code working in April of last year, but trying to flash it recently caused this issue. If I comment out the
noInterrupts
andinterrupts
calls in Pixie Chroma lib it is able to print to the LED screens.To Reproduce Steps to reproduce the behavior (using the Getting Started)
pix.begin( DATA_PIN, PIXIES_X, PIXIES_Y );
with an esp32.(Note: this error is from my espHome module but the same error and trace happens from a fresh arduino platform io build as well)
Expected behavior Begin should no panic at Watchdog causing any programs to fail.
Desktop (please complete the following information):