Convenience function to initialize FAT filesystem in SPI flash and register it in VFS This is an all-in-one function which does the following: - finds the partition with defined partition_label. Partition label should be configured in the partition table. - initializes flash wear levelling library on top of the given partition - mounts FAT partition using FATFS library on top of flash wear levelling library - registers FATFS library with VFS, with prefix given by base_prefix variable This function is intended to make example code more compact.
Prepend drive letters to path names This function returns new path path pointers, pointing to a temporary buffer inside ctx.
Register or unregister diskio driver for given drive number. When FATFS library calls one of disk_xxx functions for driver number pdrv, corresponding function in discio_impl for given pdrv will be called.
Unmount FAT filesystem and release resources acquired using esp_vfs_fat_spiflash_mount_rw_wl
Unmount an SD card from the FAT filesystem and release resources acquired using `esp_vfs_fat_sdmmc_mount()` or `esp_vfs_fat_sdspi_mount()`
Un-register FATFS from VFS
Convenience function to get FAT filesystem on SD card registered in VFS This is an all-in-one function which does the following: - initializes SDMMC driver or SPI driver with configuration in host_config - initializes SD card with configuration in slot_config - mounts FAT partition on SD card using FATFS library, with configuration in mount_config - registers FATFS library with VFS, with prefix given by base_prefix variable This function is intended to make example code more compact. For real world applications, developers should implement the logic of probing SD card, locating and mounting partition, and registering FATFS in VFS, with proper error checking and handling of exceptional conditions.
Register FATFS with VFS component This function registers given FAT drive in VFS, at the specified base path. Input arguments are held in esp_vfs_fat_conf_t structure. If only one drive is used, fat_drive argument can be an empty string. Refer to FATFS library documentation on how to specify FAT drive. This function also allocates FATFS structure which should be used for f_mount call.
Get next available drive number
Convenience function to get FAT filesystem on SD card registered in VFS This is an all-in-one function which does the following: - initializes an SPI Master device based on the SPI Master driver with configuration in slot_config, and attach it to an initialized SPI bus. - initializes SD card with configuration in host_config_input - mounts FAT partition on SD card using FATFS library, with configuration in mount_config - registers FATFS library with VFS, with prefix given by base_prefix variable This function is intended to make example code more compact. For real world applications, developers should implement the logic of probing SD card, locating and mounting partition, and registering FATFS in VFS, with proper error checking and handling of exceptional conditions.
Get the driver number corresponding to a card
Register spi flash partition
Register spi flash partition
Enable/disable SD card status checking
Format FAT filesystem with given configuration
Format FAT filesystem with given configuration
Get information for FATFS partition
Unmount FAT filesystem and release resources acquired using esp_vfs_fat_sdmmc_mount @deprecated Use `esp_vfs_fat_sdcard_unmount()` instead.
Convenience function to initialize read-only FAT filesystem and register it in VFS This is an all-in-one function which does the following: - finds the partition with defined partition_label. Partition label should be configured in the partition table. - mounts FAT partition using FATFS library - registers FATFS library with VFS, with prefix given by base_prefix variable
Unmount FAT filesystem and release resources acquired using esp_vfs_fat_spiflash_mount_ro
ff_sdmmc_status() and ff_sdmmc_initialize() return STA_NOINIT when sdmmc_get_status() fails. This error value is checked throughout the FATFS code. Both functions return 0 on success.
Test if a file is contiguous in the FAT filesystem
@cond @deprecated Please use `esp_vfs_fat_register_cfg` instead
Create a file with contiguous space at given path
@deprecated Please use `esp_vfs_fat_spiflash_mount_rw_wl` instead
@deprecated Please use `esp_vfs_fat_spiflash_unmount_rw_wl` instead
@deprecated Please use `esp_vfs_fat_spiflash_mount_ro` instead
@deprecated Please use `esp_vfs_fat_spiflash_unmount_ro` instead