esp-idf/components/esp_mm
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 feat(esp32c61): final introduce helloworld support 2024-04-02 10:50:52 +08: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
cache_esp32.c Use configuration option instead of in components not related to FreeRTOS 2023-11-28 07:49:20 +00:00
CMakeLists.txt change(system): heap_caps_alloc returns aligned memory if caps indicate a need for it 2024-05-27 12:41:18 +08:00
esp_cache.c change(system): heap_caps_alloc returns aligned memory if caps indicate a need for it 2024-05-27 12:41:18 +08:00
esp_mmu_map.c feat(xip_psram): support xip psram feature on esp32p4 2024-05-22 15:56:07 +08:00
ext_mem_layout.h refactor(esp_mm): reformat code with astyle_py 2023-10-08 10:36:04 +08:00
heap_align_hw.c change(system): heap_caps_alloc returns aligned memory if caps indicate a need for it 2024-05-27 12:41:18 +08:00
linker.lf feat(xip_psram): support xip psram feature on esp32p4 2024-05-22 15:56:07 +08:00