Missing esp_heap_alloc_caps.h header file

ESPCrazy
Posts: 2
Joined: Sat Oct 30, 2021 11:10 pm

Missing esp_heap_alloc_caps.h header file

Postby ESPCrazy » Sat Oct 30, 2021 11:19 pm

I recent found a snippet of code on the net and it refers to this function

Code: Select all

spihost[host] = pvPortMallocCaps(sizeof(spi_host_t), MALLOC_CAP_DMA);
The code referenced the header file esp_heap_alloc_caps.h. I cannot find this file within the esp-idf folders. I even searched for the function pvPortMallocCaps within the esp-idf folders

Is the header file still valid or has something changed between versions, no sure where to go next.


Who is online

Users browsing this forum: No registered users and 77 guests