esp_vfs_spiffs_register() function
Register and mount SPIFFS to VFS with given path prefix.
Arguments
conf
Pointer to esp_vfs_spiffs_conf_t configuration structure
Return value
- ESP_OK if success - ESP_ERR_NO_MEM if objects could not be allocated - ESP_ERR_INVALID_STATE if already mounted or partition is encrypted - ESP_ERR_NOT_FOUND if partition for SPIFFS was not found - ESP_FAIL if mount or format fails
esp_vfs_spiffs_register() calls 5 functions:
![]()
esp_vfs_spiffs_register()
esp_vfs_spiffs_register() reads 6 variables:
![]()
esp_vfs_spiffs_register()