littlefs v2 integration with vfs More...

Detailed Description

littlefs v2 integration with vfs

Author
Vincent Dupont vince.nosp@m.nt@o.nosp@m.takey.nosp@m.s.co.nosp@m.m
Koen Zandberg koen@.nosp@m.berg.nosp@m.zand..nosp@m.net

Definition in file littlefs2_fs.h.

#include "vfs.h"
#include "lfs.h"
#include "mtd.h"
#include "mutex.h"
+ Include dependency graph for littlefs2_fs.h:

Go to the source code of this file.

Data Structures

struct  littlefs2_desc_t
 littlefs descriptor for vfs integration More...
 

Variables

const vfs_file_system_t littlefs2_file_system
 The littlefs vfs driver.
 

littlefs configuration

#define CONFIG_LITTLEFS2_LOOKAHEAD_SIZE   (16)
 Default lookahead size.
 
#define CONFIG_LITTLEFS2_FILE_BUFFER_SIZE   (0)
 File buffer size, if 0, dynamic allocation is used. More...
 
#define CONFIG_LITTLEFS2_READ_BUFFER_SIZE   (0)
 Read buffer size, if 0, dynamic allocation is used. More...
 
#define CONFIG_LITTLEFS2_PROG_BUFFER_SIZE   (0)
 Prog buffer size, if 0, dynamic allocation is used. More...
 
#define CONFIG_LITTLEFS2_CACHE_PAGES   (1)
 Sets the number of pages used as cache. More...
 
#define CONFIG_LITTLEFS2_BLOCK_CYCLES   (512)
 Sets the maximum number of erase cycles before blocks are evicted as a part of wear leveling. More...