littlefs_fs.h¶
littlefs integration with vfs
-
LITTLEFS_LOOKAHEAD_SIZE¶ Default lookahead size.
1
(128)
-
LITTLEFS_FILE_BUFFER_SIZE¶ File buffer size, if 0, dynamic allocation is used.
1
(0)
If set, only one file can be used at a time, must be program size (mtd page size is used internally as program size)
-
LITTLEFS_READ_BUFFER_SIZE¶ Read buffer size, if 0, dynamic allocation is used.
1
(0)
If set, it must be read size (mtd page size is used internally as read size)
-
LITTLEFS_PROG_BUFFER_SIZE¶ Prog buffer size, if 0, dynamic allocation is used.
1
(0)
If set, it must be program size
-
const vfs_file_system_t
littlefs_file_system¶ The littlefs vfs driver.
-
struct
littlefs_desc_t¶ littlefs descriptor for vfs integration
-
lfs_t
fs¶ littlefs descriptor
-
struct lfs_config
config¶ littlefs config
-
uint32_t
base_addr¶ first block number to use, total number of block is defined in
config.if set to 0, the total number of sectors from the mtd is used
-
uint8_t
file_buf()¶ file buffer to use internally if LITTLEFS_FILE_BUFFER_SIZE is set
-
uint8_t
read_buf()¶ read buffer to use internally if LITTLEFS_READ_BUFFER_SIZE is set
-
uint8_t
prog_buf()¶ prog buffer to use internally if LITTLEFS_PROG_BUFFER_SIZE is set
-
uint8_t
lookahead_buf()¶ lookahead buffer to use internally
-
lfs_t