Function esp_idf_sys::esp_flash_erase_chip

source ยท
pub unsafe extern "C" fn esp_flash_erase_chip(
    chip: *mut esp_flash_t,
) -> esp_err_t
Expand description

@brief Erase flash chip contents

@param chip Pointer to identify flash chip. Must have been successfully initialised via esp_flash_init()

@return - ESP_OK on success, - ESP_ERR_NOT_SUPPORTED if the chip is not able to perform the operation. This is indicated by WREN = 1 after the command is sent. - Other flash error code if operation failed.