Chapter 2. API Reference
Provide basic I/O functions
Found in:
Component config
If enabled, the following functions are provided by the VFS component.
open, close, read, write, pread, pwrite, lseek, fstat, fsync, ioctl, fcntl
Filesystem drivers can then be registered to handle these functions for specific paths.
Disabling this option can save memory when the support for these functions is not required.
Note that the following functions can still be used with socket file descriptors when this option is disabled:
close, read, write, ioctl, fcntl.
Default value:
• Yes (enabled)
CONFIG_VFS_SUPPORT_DIR
Provide directory related functions
Found in:
Component config
If enabled, the following functions are provided by the VFS component.
stat, link, unlink, rename, utime, access, truncate, rmdir, mkdir, opendir, closedir, readdir, readdir_r,
seekdir, telldir, rewinddir
Filesystem drivers can then be registered to handle these functions for specific paths.
Disabling this option can save memory when the support for these functions is not required.
Default value:
• Yes (enabled)
CONFIG_VFS_SUPPORT_SELECT
Provide select function
Found in:
Component config
If enabled, select function is provided by the VFS component, and can be used on peripheral file de-
scriptors (such as UART) and sockets at the same time.
If disabled, the default select implementation will be provided by LWIP for sockets only.
Disabling this option can reduce code size if support for "select"on UART file descriptors is not
required.
Default value:
• Yes
FIG_LWIP_USE_ONLY_LWIP_SELECT
CONFIG_VFS_SUPPRESS_SELECT_DEBUG_OUTPUT
Suppress select() related debug outputs
Found in:
Component config
FIG_VFS_SUPPORT_SELECT
Select() related functions might produce an unconveniently lot of debug outputs when one sets the default
log level to DEBUG or higher. It is possible to suppress these debug outputs by enabling this option.
Default value:
• Yes (enabled)
Espressif Systems
>
Virtual file system
>
Virtual file system
>
Virtual file system
(enabled)
if
>
Virtual file system
Submit Document Feedback
>
CONFIG_VFS_SUPPORT_IO
>
CONFIG_VFS_SUPPORT_IO
CONFIG_VFS_SUPPORT_IO
>
CONFIG_VFS_SUPPORT_IO
1233
&&
CON-
>
CON-
Release v4.4
Need help?
Do you have a question about the ESP32-S2 and is the answer not in the manual?
Questions and answers