ESP32-Digital-RGB-LED-Drivers icon indicating copy to clipboard operation
ESP32-Digital-RGB-LED-Drivers copied to clipboard

(ESP-IDF) gRmtSem is never given when Heap Corruption Detection is set to Light Impact

Open benpeoples opened this issue 4 years ago • 3 comments

This is with ESP-IDF v4.0...

With Heap Corruption Detection set to Comprehensive, everything works (reasonably) fine.

With HCD at Basic, I get a LoadProhibited at line 297 of esp32_digital_led_lib.cpp (in digitalLeds_resetPixels())

With HCD in Light Impact, the system hangs at line 367 of esp32_digital_led_lib.cpp (in digitalLeds_drawPixels()), waiting to take gRmtSem.

Any idea where to look to debug this?

(Big picture, I'm getting some glitching and so I'm trying to figure out how to tune out the glitching...)

benpeoples avatar Jul 31 '20 22:07 benpeoples