Espressif ESP32-S2 Programming Manual page 1245

Table of Contents

Advertisement

Chapter 2. API Reference
CONFIG_VFS_SUPPORT_TERMIOS
Provide termios.h functions
Found in:
Component config
Disabling this option can save memory when the support for termios.h is not required.
Default value:
• Yes (enabled)
Host File System I/O (Semihosting)
CONFIG_VFS_SEMIHOSTFS_MAX_MOUNT_POINTS
CONFIG_VFS_SEMIHOSTFS_HOST_PATH_MAX_LEN
CONFIG_VFS_SEMIHOSTFS_MAX_MOUNT_POINTS
Host FS: Maximum number of the host filesystem mount points
Found in:
Component config
(Semihosting)
Define maximum number of host filesystem mount points.
Default value:
• 1
CONFIG_VFS_SEMIHOSTFS_HOST_PATH_MAX_LEN
Host FS: Maximum path length for the host base directory
Found in:
Component config
(Semihosting)
Define maximum path length for the host base directory which is to be mounted. If host path passed to
esp_vfs_semihost_register() is longer than this value it will be truncated.
Default value:
• 128
Wear Levelling
Contains:
CONFIG_WL_SECTOR_MODE
CONFIG_WL_SECTOR_SIZE
CONFIG_WL_SECTOR_SIZE
Wear Levelling library sector size
Found in:
Component config
Sector size used by wear levelling library. You can set default sector size or size that will fit to the flash
device sector size.
With sector size set to 4096 bytes, wear levelling library is more efficient. However if FAT filesystem is
used on top of wear levelling library, it will need more temporary storage: 4096 bytes for each mounted
filesystem and 4096 bytes for each opened file.
With sector size set to 512 bytes, wear levelling library will perform more operations with flash memory,
but less RAM will be used by FAT filesystem library (512 bytes for the filesystem and 512 bytes for each
file opened).
Available options:
• 512 (WL_SECTOR_SIZE_512)
Espressif Systems
>
Virtual file system
>
CONFIG_VFS_SUPPORT_IO
Contains:
>
Virtual file system
>
CONFIG_VFS_SUPPORT_IO
>
Virtual file system
>
CONFIG_VFS_SUPPORT_IO
>
Wear Levelling
1234
Submit Document Feedback
>
Host File System I/O
>
Host File System I/O
Release v4.4

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32-S2 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF