mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
feat(heap): Update component to latest TLSF
The new TLSF architecture has changed. tlsf.h public API header is now moved into an include folder. tlsf_common.h is removed from the repo. This commit updates the heap component and respective esp_rom patches to take into account this new architecture.
This commit is contained in:
@@ -176,7 +176,7 @@ TEST_CASE("test get allocated size", "[heap]")
|
||||
const size_t aligned_size = (alloc_sizes[i] + 3) & ~3;
|
||||
const size_t real_size = heap_caps_get_allocated_size(ptr_array[i]);
|
||||
printf("initial size: %d, requested size : %d, allocated size: %d\n", alloc_sizes[i], aligned_size, real_size);
|
||||
TEST_ASSERT_EQUAL(aligned_size, real_size);
|
||||
TEST_ASSERT(aligned_size <= real_size);
|
||||
|
||||
heap_caps_free(ptr_array[i]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user