Function esp_idf_sys::esp_himem_free

source ยท
pub unsafe extern "C" fn esp_himem_free(
    handle: esp_himem_handle_t,
) -> esp_err_t
Expand description

@brief Free a block of physical memory

This clears out the associated handle making the memory available for re-allocation again. This will only succeed if none of the memory blocks currently have a mapping.

@param handle Handle to the block of memory, as given by esp_himem_alloc @returns - ESP_OK if the memory is succesfully freed - ESP_ERR_INVALID_ARG if the handle still is (partially) mapped