Build Configuration

In the file le_build_conifg.h are a number of preprocessor macros. Uncommenting these macros enables a non-standard feature of the framework.


LE_MEM_TRACE

When LE_MEM_TRACE is defined, the memory subsystem will create a trace point for every memory pool created. The name of the tracepoint will be the same of the pool, and is of the form "component.poolName".

LE_MEM_VALGRIND

When LE_MEM_VALGRIND is enabled the memory system doesn't use pools anymore but in fact switches to use malloc/free per-block. This way, tools like valgrind can be used on a Legato executable.