- re: "error: implicit declaration of function '(esp_dma_capable_malloc|esp_dma_capable_calloc)'" hint: "Use the heap_caps_malloc() or heap_caps_calloc() functions from the esp_heap_caps.h with the MALLOC_CAP_DMA flag to allocate memory that is capable of being used for DMA operations."