esp_idf_svc::sys

Function esp_spiffs_format

Source
pub unsafe extern "C" fn esp_spiffs_format(
    partition_label: *const u8,
) -> i32
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