Loading...
Searching...
No Matches
littlefs integration

RIOT integration of littlefs. More...

Detailed Description

RIOT integration of littlefs.

Files

file  lfs_log.h
 littlefs logging macro overrides
 
file  littlefs_fs.h
 littlefs integration with vfs
 

Data Structures

struct  littlefs_desc_t
 littlefs descriptor for vfs integration More...
 

Variables

const vfs_file_system_t littlefs_file_system
 The littlefs vfs driver.
 

littlefs configuration

#define LITTLEFS_LOOKAHEAD_SIZE   (128)
 Default lookahead size.
 
#define LITTLEFS_FILE_BUFFER_SIZE   (0)
 File buffer size, if 0, dynamic allocation is used.
 
#define LITTLEFS_READ_BUFFER_SIZE   (0)
 Read buffer size, if 0, dynamic allocation is used.
 
#define LITTLEFS_PROG_BUFFER_SIZE   (0)
 Prog buffer size, if 0, dynamic allocation is used.
 
#define LITTLEFS_MIN_BLOCK_SIZE_EXP   (-1)
 The exponent of the minimum acceptable block size in bytes (2^n).
 

Macro Definition Documentation

◆ LITTLEFS_FILE_BUFFER_SIZE

#define LITTLEFS_FILE_BUFFER_SIZE   (0)

File buffer size, if 0, dynamic allocation is used.

If set, only one file can be used at a time, must be program size (mtd page size is used internally as program size)

Definition at line 50 of file littlefs_fs.h.

◆ LITTLEFS_LOOKAHEAD_SIZE

#define LITTLEFS_LOOKAHEAD_SIZE   (128)

Default lookahead size.

Definition at line 43 of file littlefs_fs.h.

◆ LITTLEFS_MIN_BLOCK_SIZE_EXP

#define LITTLEFS_MIN_BLOCK_SIZE_EXP   (-1)

The exponent of the minimum acceptable block size in bytes (2^n).

The desired block size is not guaranteed to be applicable but will be respected.

Definition at line 69 of file littlefs_fs.h.

◆ LITTLEFS_PROG_BUFFER_SIZE

#define LITTLEFS_PROG_BUFFER_SIZE   (0)

Prog buffer size, if 0, dynamic allocation is used.

If set, it must be program size

Definition at line 62 of file littlefs_fs.h.

◆ LITTLEFS_READ_BUFFER_SIZE

#define LITTLEFS_READ_BUFFER_SIZE   (0)

Read buffer size, if 0, dynamic allocation is used.

If set, it must be read size (mtd page size is used internally as read size)

Definition at line 56 of file littlefs_fs.h.