MoonModules / WLED

Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi! MoonModules adds features on top of upstream.
https://mm.kno.wled.ge
European Union Public License 1.2
228 stars 70 forks source link

Heap debug via WLED_DEBUG_HEAP #50

Closed troyhacks closed 1 year ago

troyhacks commented 1 year ago

Seems most of prerequisites for heap debugging are satisfied by the default platform config - we just need to define a callback and a function to display the heap failed allocation details.

Compile-time option with WLED_DEBUG_HEAP.

softhack007 commented 1 year ago

thanks 👍