Function esp_idf_sys::esp_himem_alloc_map_range
source ยท pub unsafe extern "C" fn esp_himem_alloc_map_range(
size: usize,
handle_out: *mut esp_himem_rangehandle_t,
) -> esp_err_t
Expand description
@brief 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.
@param size Size of the range to be allocated. Note this needs to be a multiple of the external RAM mmu block size (32K). @param[out] handle_out Handle to be returned @returns - 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