0

I need to trace memory leak but I can't find a way. on IDF you can use heap_trace_init_standalone but there is not present on arduino framework.

1 Answer 1

1

If you add #include <esp_heap_trace.h> (and define CONFIG_HEAP_TRACING) at the top of your sketch, the method should be available.

It is defined in esp32\tools\sdk\esp32\include\heap\include\esp_heap_trace.h

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.