Page 1 of 1

Missing esp_heap_alloc_caps.h header file

Posted: Sat Oct 30, 2021 11:19 pm
by ESPCrazy
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.

Re: Missing esp_heap_alloc_caps.h header file

Posted: Sun Oct 31, 2021 4:04 am
by WiFive