esp-idf/components/heap/test_apps/heap_tests/main
Jeroen Domburg df4195062d change(system): heap_caps_alloc returns aligned memory if caps indicate a need for it
The implicit promise of heap_alloc_caps() and friends is that the memory it
returns is fit for the purpose as requested in the caps field. Before
this commit, that did not happen; e.g. DMA-capable memory wass returned
from a correct region, but not aligned/sized to something the DMA subsystem
can handle.

This commit adds an API to the esp_mm component that is then used by the
heap component to adjust allocation alignment, caps and size dependent on
the hardware requirement of the requested allocation caps.
2024-05-30 16:02:03 +08:00
..
CMakeLists.txt change(system): heap_caps_alloc returns aligned memory if caps indicate a need for it 2024-05-30 16:02:03 +08:00
test_aligned_alloc_caps.c ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00
test_allocator_timings.c all: Removes unnecessary newline character in logs 2023-06-09 03:31:21 +08:00
test_corruption_check.c fix(heap): Patch tlsf_check_pool in ROM heap 2023-11-01 09:47:41 +01:00
test_diram.c heap: enable qemu tests 2023-06-20 16:03:41 +02:00
test_heap_align_hw.c change(system): heap_caps_alloc returns aligned memory if caps indicate a need for it 2024-05-30 16:02:03 +08:00
test_heap_main.c ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00
test_heap_trace.c feat(heap): update hash map to use singly linked list 2023-10-19 14:50:05 +02:00
test_malloc_caps.c feat(heap): Allow tracking of minimum free size for a given time frame 2023-12-21 08:07:01 +01:00
test_malloc.c ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00
test_realloc.c ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00
test_runtime_heap_reg.c ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00
test_task_tracking.c test(heap): Extend task tracking test with task handle check 2024-04-10 11:23:07 +02:00
test_walker.c feat(esp_rom): patch heap walker to the ROM implementation 2024-03-21 07:41:04 +01:00