now as a reference how to enable you can take a look to
in the file dtls_client.c look for
static unsigned char heap;
There a heap is statically created and eventually you have to assign the heap with the function
For that point on mbedtls will use its own memory allocator
Let me know if this helps
Indeed, that I could not guess it from mbedtls includes.
That helps a lot! :)