esp-idf/components/heap
Jeroen Domburg a1ba660b4a 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-27 12:41:18 +08:00
..
include change(system): heap_caps_alloc returns aligned memory if caps indicate a need for it 2024-05-27 12:41:18 +08:00
port change(heap): Remove todo of closed ticket in memory_layout.c files 2024-05-21 10:40:22 +02:00
test_apps change(system): heap_caps_alloc returns aligned memory if caps indicate a need for it 2024-05-27 12:41:18 +08:00
test_multi_heap_host refactor(tools): Tidy up core component files copyright ignore 2024-01-22 18:07:35 +08:00
tlsf@8fc595fe22 feat(esp_rom): patch heap walker to the ROM implementation 2024-03-21 07:41:04 +01:00
CMakeLists.txt fix(heap): Tracing of all heap_caps API 2024-04-09 13:27:45 +02:00
heap_caps_base.c change(system): heap_caps_alloc returns aligned memory if caps indicate a need for it 2024-05-27 12:41:18 +08:00
heap_caps_init.c fix(heap): Loop break on failed alloc 2024-04-12 12:21:13 +02:00
heap_caps_linux.c fix(linux_target): added missing include file when CONFIG_HEAP_ABORT_WHEN_ALLOCATION_FAILS 2024-02-09 16:58:06 +08:00
heap_caps.c fix(heap): Tracing of all heap_caps API 2024-04-09 13:27:45 +02:00
heap_private.h fix(heap): Tracing of all heap_caps API 2024-04-09 13:27:45 +02:00
heap_task_info.c feat(heap): Dissociate heap poisoning from task tracking 2023-10-18 06:43:22 +02:00
heap_trace_standalone.c feat(heap-trace): Add a pause state to the heap tracing 2024-05-21 10:59:01 +02:00
internals.md heap: add documentation about the function placement in IRAM and its usage in ISR 2022-11-24 10:31:14 +01:00
Kconfig feat(esp_rom): patch heap walker to the ROM implementation 2024-03-21 07:41:04 +01:00
linker.lf fix(heap): Fix bugs in heap task tracking 2023-11-09 09:20:45 +01:00
multi_heap_config.h heap: Remove TLSF related files and replace them with the tlsf submodule 2022-08-02 12:55:31 +02:00
multi_heap_internal.h feat(heap): Allow tracking of minimum free size for a given time frame 2023-12-21 08:07:01 +01:00
multi_heap_platform.h fix(heap): Fix bugs in heap task tracking 2023-11-09 09:20:45 +01:00
multi_heap_poisoning.c fix(heap): Fix bugs in heap task tracking 2023-11-09 09:20:45 +01:00
multi_heap.c feat(heap): Add return value to walker callback 2024-03-20 08:33:48 +01:00