esp-idf/components/heap/test_apps/heap_tests
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
..
main change(system): heap_caps_alloc returns aligned memory if caps indicate a need for it 2024-05-30 16:02:03 +08:00
CMakeLists.txt fix(check_callgraph): rework --ignore-refs to be more generic 2024-03-26 17:05:39 +01:00
pytest_heap.py fix(heap): Add missing test for heap task tracking config 2023-11-09 09:20:45 +01:00
README.md feat(ci): Enable p4 example, test_apps and unit tests CI build 2023-08-24 12:51:19 +08:00
sdkconfig.ci.comprehensive_poisoning ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00
sdkconfig.ci.heap_trace ci: fix invalid kconfig options in system test apps 2023-05-09 11:27:55 +08:00
sdkconfig.ci.heap_trace_hashmap feat(heap): update hash map to use singly linked list 2023-10-19 14:50:05 +02:00
sdkconfig.ci.in_flash heap: Add a configuration that places all the heap component and related functionalities in flash when enabled 2023-04-12 08:11:24 +02:00
sdkconfig.ci.light_poisoning ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00
sdkconfig.ci.mem_prot ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00
sdkconfig.ci.misc_options ci(heap): reduce the number of test apps built 2023-10-24 12:38:56 +08:00
sdkconfig.ci.no_poisoning fix(heap): Add missing test for heap task tracking config 2023-11-09 09:20:45 +01:00
sdkconfig.ci.psram ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00
sdkconfig.ci.psram_all_ext ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00
sdkconfig.defaults ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00

Supported Targets ESP32 ESP32-C2 ESP32-C3 ESP32-C6 ESP32-H2 ESP32-P4 ESP32-S2 ESP32-S3