esp_himem_alloc_map_range() function
Allocate a memory region to map blocks into This allocates a contiguous CPU memory region that can be used to map blocks of physical memory into.
Arguments
size
Size of the range to be allocated. Note this needs to be a multiple of the external RAM mmu block size (32K).
handle_out
Handle to be returned
Return value
- ESP_OK if succesful - ESP_ERR_NO_MEM if out of memory or address space - ESP_ERR_INVALID_SIZE if size is not a multiple of 32K
Examples
esp_himem_alloc_map_range() is referenced by 1 libraries and example projects: