esp_vfs_littlefs_register() function
Register and mount (if configured to) littlefs to VFS with given path prefix.
Arguments
conf
Pointer to esp_vfs_littlefs_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 littlefs was not found - ESP_FAIL if mount or format fails