Function esp_idf_sys::esp_himem_alloc
source ยท pub unsafe extern "C" fn esp_himem_alloc(
size: usize,
handle_out: *mut esp_himem_handle_t,
) -> esp_err_t
Expand description
@brief Allocate a block in high memory
@param size Size of the to-be-allocated block, in bytes. Note that 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 - ESP_ERR_INVALID_SIZE if size is not a multiple of 32K