esp_vfs_fat_spiflash_unmount_rw_wl() function
Unmount FAT filesystem and release resources acquired using esp_vfs_fat_spiflash_mount_rw_wl
Arguments
base_path
path where partition should be registered (e.g. "/spiflash")
wl_handle
wear levelling driver handle returned by esp_vfs_fat_spiflash_mount_rw_wl
Return value
- ESP_OK on success - ESP_ERR_INVALID_STATE if esp_vfs_fat_spiflash_mount_rw_wl hasn't been called
Examples
esp_vfs_fat_spiflash_unmount_rw_wl() is referenced by 7 libraries and example projects: