Loading...
Searching...
No Matches

SPIFFS integration with vfs. More...

Detailed Description

SPIFFS integration with vfs.

Author
Vincent Dupont vince.nosp@m.nt@o.nosp@m.takey.nosp@m.s.co.nosp@m.m

Definition in file spiffs_fs.h.

#include "spiffs.h"
#include "spiffs_config.h"
#include "vfs.h"
#include "mtd.h"
#include "mutex.h"
+ Include dependency graph for spiffs_fs.h:

Go to the source code of this file.

Data Structures

struct  spiffs_desc
 This contains everything needed to run an instance of SPIFFS. More...
 

Macros

#define SPIFFS_DIR_SIZE   (12)
 Size of the buffer needed for directory.
 

Typedefs

typedef struct spiffs_desc spiffs_desc_t
 This contains everything needed to run an instance of SPIFFS.
 

Functions

void spiffs_lock (struct spiffs_t *fs)
 SPIFFS lock function.
 
void spiffs_unlock (struct spiffs_t *fs)
 SPIFFS unlock function.
 

Variables

const vfs_file_system_t spiffs_file_system
 The SPIFFS vfs driver, a pointer to a spiffs_desc_t must be provided as vfs_mountp::private_data.
 

SPIFFS config constants

#define SPIFFS_FS_CACHE_SIZE   (512)
 the size of the cache buffer
 
#define SPIFFS_FS_WORK_SIZE   (512)
 The size of the work buffer.
 
#define SPIFFS_FS_FD_SPACE_SIZE   (4 * 32)
 the size of the file descriptor buffer