Function esp_idf_sys::esp_vfs_spiffs_register
source ยท pub unsafe extern "C" fn esp_vfs_spiffs_register(
conf: *const esp_vfs_spiffs_conf_t,
) -> esp_err_t
Expand description
Register and mount SPIFFS to VFS with given path prefix.
@param conf Pointer to esp_vfs_spiffs_conf_t configuration structure
@return - 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