esp_idf_sys

Function esp_spiffs_format

Source
pub unsafe extern "C" fn esp_spiffs_format(
    partition_label: *const c_char,
) -> esp_err_t
Expand description

Format the SPIFFS partition

@param partition_label Same label as passed to esp_vfs_spiffs_register. @return - ESP_OK if successful - ESP_FAIL on error