Search found 3 matches

by teknynja
Sun Jun 09, 2024 2:19 am
Forum: ESP-IDF
Topic: ESP32 RMT Issues: Passing large buffer to rmtWrite causes crash
Replies: 4
Views: 655

Re: ESP32 RMT Issues: Passing large buffer to rmtWrite causes crash

That fixes it! :oops: (at least in the demo code above). I plan to take look at Adafruit's code to see how they are allocating the "items" buffer (their API does all the memory allocations internally, but I do instantiate their driver instance outside of any functions). I'm presuming they too are al...
by teknynja
Sat Jun 08, 2024 12:53 pm
Forum: ESP-IDF
Topic: ESP32 RMT Issues: Passing large buffer to rmtWrite causes crash
Replies: 4
Views: 655

Re: ESP32 RMT Issues: Passing large buffer to rmtWrite causes crash

Sample code to demonstrate issue: /* Sample code to demonstrate rmtWrite crash with large buffers This code is based on the ESP32 RMT Driver from the Adafruit NeoPixel Library at: https://github.com/adafruit/Adafruit_NeoPixel/blob/master/esp.c which itself seems to be directly based on the Espressif...
by teknynja
Fri Jun 07, 2024 11:48 pm
Forum: ESP-IDF
Topic: ESP32 RMT Issues: Passing large buffer to rmtWrite causes crash
Replies: 4
Views: 655

ESP32 RMT Issues: Passing large buffer to rmtWrite causes crash

While attempting to use the Adafruit NeoPixel Library v1.12.2, I discovered that trying to drive more than 70+ pixels will cause the system to crash/boot-loop. I've verified this happens on both my ESP-WROOM-32 and ESP32-C3 boards. I found an issue on the Adafruit repository (https://github.com/adaf...