esp_spiffs_format() function
Format the SPIFFS partition
Arguments
partition_label
Same label as passed to esp_vfs_spiffs_register.
Return value
- ESP_OK if successful - ESP_FAIL on error
esp_spiffs_format() calls 12 functions:
![]()
esp_spiffs_format()
esp_spiffs_format() reads 14 variables:
![]()
esp_spiffs_format()