adafruit / Adafruit_NeoPixel

Arduino library for controlling single-wire LED pixels (NeoPixel, WS2812, etc.)
GNU Lesser General Public License v3.0
3.06k stars 1.26k forks source link

ESP32-C3 "invalid interrupt priority" #373

Open aaroneiche opened 10 months ago

aaroneiche commented 10 months ago

And either repeats in a loop, or resets and the same error occurs.

UnexpectedMaker commented 9 months ago

Yeah, RMT has been refactored in the 3.0.0 core and it's not backward compatible :(

It's not specific to the C3 - it's all ESP32 boards supported in the new core as it brings in changes in RMT from IDF 5.1 and beyond.

JLeising commented 9 months ago

Using Arduino library manager to revert to Adafruit Neopixel version 1.1.0 corrected this issue for me.

UnexpectedMaker commented 9 months ago

Good to know! There's an upstream fix from Espressif coming for the ESP32 3.0.0 core that should rectify this without Adafruit needing to deal with it. Not sure when that's landing though.

chibiconsulting commented 6 months ago

FYI, v1.11.0 seems to work for me. Was 1.1.0 a typo?

JLeising commented 6 months ago

Not a typo. When I tried, most recent Adafruit Neopixel version did not work. Old version did. Maybe fixed now? Haven’t retested.

chibiconsulting commented 6 months ago

No problem, I noticed it with 1.12.0 which I think is current; then tried v1.1.0 and it had other issues so I started again with 1.11.0 and it seems to work for me. I will keep watching as it would be nice to know when the current versions from Espresssif and Adafruit are on the same page again. Thanks.

egnor commented 1 month ago

I think the situation was something like

There's some guesswork in here...