littlefs descriptor for vfs integration More...
littlefs descriptor for vfs integration
Definition at line 82 of file littlefs2_fs.h.
#include <littlefs2_fs.h>
Data Fields | |
lfs_t | fs |
littlefs descriptor | |
struct lfs_config | config |
littlefs config | |
mtd_dev_t * | dev |
mtd device to use | |
mutex_t | lock |
mutex | |
uint32_t | base_addr |
first block number to use, total number of block is defined in config . More... | |
uint8_t | file_buf [CONFIG_LITTLEFS2_FILE_BUFFER_SIZE] |
file buffer to use internally if CONFIG_LITTLEFS2_FILE_BUFFER_SIZE is set | |
uint8_t | read_buf [CONFIG_LITTLEFS2_READ_BUFFER_SIZE] |
read buffer to use internally if CONFIG_LITTLEFS2_READ_BUFFER_SIZE is set | |
uint8_t | prog_buf [CONFIG_LITTLEFS2_PROG_BUFFER_SIZE] |
prog buffer to use internally if CONFIG_LITTLEFS2_PROG_BUFFER_SIZE is set | |
uint8_t | lookahead_buf [CONFIG_LITTLEFS2_LOOKAHEAD_SIZE] |
lookahead buffer to use internally | |
uint32_t littlefs2_desc_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
Definition at line 90 of file littlefs2_fs.h.