littlefs descriptor for vfs integration More...
littlefs descriptor for vfs integration
Definition at line 91 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 . | |
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 | |
uint16_t | sectors_per_block |
number of sectors per block | |
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 99 of file littlefs2_fs.h.
struct lfs_config littlefs2_desc_t::config |
littlefs config
Definition at line 93 of file littlefs2_fs.h.
mtd_dev_t* littlefs2_desc_t::dev |
mtd device to use
Definition at line 94 of file littlefs2_fs.h.
uint8_t littlefs2_desc_t::file_buf[CONFIG_LITTLEFS2_FILE_BUFFER_SIZE] |
file buffer to use internally if CONFIG_LITTLEFS2_FILE_BUFFER_SIZE is set
Definition at line 103 of file littlefs2_fs.h.
lfs_t littlefs2_desc_t::fs |
littlefs descriptor
Definition at line 92 of file littlefs2_fs.h.
mutex_t littlefs2_desc_t::lock |
mutex
Definition at line 95 of file littlefs2_fs.h.
uint8_t littlefs2_desc_t::lookahead_buf[CONFIG_LITTLEFS2_LOOKAHEAD_SIZE] |
lookahead buffer to use internally
Definition at line 116 of file littlefs2_fs.h.
uint8_t littlefs2_desc_t::prog_buf[CONFIG_LITTLEFS2_PROG_BUFFER_SIZE] |
prog buffer to use internally if CONFIG_LITTLEFS2_PROG_BUFFER_SIZE is set
Definition at line 113 of file littlefs2_fs.h.
uint8_t littlefs2_desc_t::read_buf[CONFIG_LITTLEFS2_READ_BUFFER_SIZE] |
read buffer to use internally if CONFIG_LITTLEFS2_READ_BUFFER_SIZE is set
Definition at line 108 of file littlefs2_fs.h.
uint16_t littlefs2_desc_t::sectors_per_block |
number of sectors per block
Definition at line 117 of file littlefs2_fs.h.