esp_spiffs_info() function
Get information for SPIFFS
Arguments
partition_label
Same label as passed to esp_vfs_spiffs_register
total_bytes
Size of the file system
used_bytes
Current used bytes in the file system
Return value
- ESP_OK if success - ESP_ERR_INVALID_STATE if not mounted
esp_spiffs_info() calls 2 functions:
![]()
esp_spiffs_info()
esp_spiffs_info() reads 2 variables:
![]()
esp_spiffs_info()