c - How to detect a memory leak in FreeRTOS -
i'm using freertos v9 on efm32gg board , gcc compiler, develop first embedded application :) want know how can detect memory leak in application (basic one), there techniques or algorithms that?
freertos not leak memory, application might, can detect same way in non freertos application.
memory allocation uses calls pvportmalloc() , vportfree(), rather malloc() , free() directly (http://www.freertos.org/a00111.html), , calls functions can tracked in trace tool (http://www.freertos.org/trace), or defining relevant trace macros, how trace tool (http://www.freertos.org/rtos-trace-macros.html).
Comments
Post a Comment