size_t storage_get_total_bytes(void)
Get the total size of the storage in bytes.
const char * storage_get_partition_label(void)
Get the partition label for the LittleFS filesystem.
esp_err_t storage_get_info(storage_info_t *info)
Get comprehensive storage information.
size_t storage_get_used_bytes(void)
Get the used size of the storage in bytes.
bool storage_is_mounted(void)
Check if the storage is mounted and ready.
esp_err_t storage_init(void)
Initialize and mount LittleFS filesystem.
const char * storage_get_mount_point(void)
Get the mount point for the LittleFS filesystem.
size_t storage_get_free_bytes(void)
Get the free size of the storage in bytes.
void storage_print_info(void)
Print storage information to the log.
Storage information structure.
size_t total_bytes
Total size of the storage in bytes.
size_t free_bytes
Free size of the storage in bytes.
size_t used_bytes
Used size of the storage in bytes.