VFS API

frogfs/vfs.h

Defines

F_REOPEN_RAW

Functions

esp_err_t frogfs_vfs_register(const frogfs_vfs_conf_t *conf)

Mount an frogfs fs handle under a vfs path.

Parameters:
  • conf[in] vfs configuration

Returns:

ESP_OK if successful, ESP_ERR_NO_MEM if too many VFSes are registered

Structs

struct frogfs_vfs_conf_t

Configuration structure for the frogfs_vfs_register function.

Public Members

const char *base_path

vfs path to mount the filesystem

frogfs_fs_t *fs

the frogfs instance

size_t max_files

maximum open files