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
esp_himem_alloc_map_range() calls 6 functions:
![]()
esp_himem_alloc_map_range()
esp_himem_alloc_map_range() reads 10 variables and writes 3 variables:
![]()
esp_himem_alloc_map_range()
esp_himem_alloc_map_range() allocates 1 types and frees 1 types:
![]()
esp_himem_alloc_map_range()