Go to the documentation of this file.
22 #ifndef FS_LITTLEFS_FS_H
23 #define FS_LITTLEFS_FS_H
38 #ifndef LITTLEFS_LOOKAHEAD_SIZE
40 #define LITTLEFS_LOOKAHEAD_SIZE (128)
43 #ifndef LITTLEFS_FILE_BUFFER_SIZE
47 #define LITTLEFS_FILE_BUFFER_SIZE (0)
50 #ifndef LITTLEFS_READ_BUFFER_SIZE
53 #define LITTLEFS_READ_BUFFER_SIZE (0)
56 #ifndef LITTLEFS_PROG_BUFFER_SIZE
59 #define LITTLEFS_PROG_BUFFER_SIZE (0)
68 struct lfs_config config;
75 #if LITTLEFS_FILE_BUFFER_SIZE || DOXYGEN
79 #if LITTLEFS_READ_BUFFER_SIZE || DOXYGEN
83 #if LITTLEFS_PROG_BUFFER_SIZE || DOXYGEN
littlefs descriptor for vfs integration
#define LITTLEFS_READ_BUFFER_SIZE
Read buffer size, if 0, dynamic allocation is used.
#define LITTLEFS_LOOKAHEAD_SIZE
Default lookahead size.
const vfs_file_system_t littlefs_file_system
The littlefs vfs driver.
lfs_t fs
littlefs descriptor
#define LITTLEFS_FILE_BUFFER_SIZE
File buffer size, if 0, dynamic allocation is used.
Mutex for thread synchronization.
uint32_t base_addr
first block number to use, total number of block is defined in config.
mtd_dev_t * dev
mtd device to use
VFS layer API declarations.
#define LITTLEFS_PROG_BUFFER_SIZE
Prog buffer size, if 0, dynamic allocation is used.