mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-03 08:31:44 +01:00
The tlsf now checks for size validity when creating a new heap. The check previously done in multi_heap_register_impl() is no longer valid since the tlsf_size() is not known at this time (as the metadata size is linked ot the size of the memory region passed as parameter when calling tlsf_create_with_pool()) The tlsf_create_with_pool() will return a null pointer if the size of the memory is not big enough to hold the metadata overhead and at least a small block. Update the test according to the changes in TLSF API