VSF Documented
Data Structures | Macros | Typedefs | Functions
esp_littlefs_port.c File Reference
#include "../vsf_espidf_cfg.h"
#include <stdint.h>
#include <stddef.h>
#include <string.h>
#include "component/fs/vsf_fs.h"
#include "component/fs/driver/littlefs/vsf_littlefs.h"
#include "component/mal/vsf_mal.h"
#include "service/heap/vsf_heap.h"
#include "lfs.h"
#include "lfs_port.h"
#include <sys/mount.h>
#include "../vsf_espidf.h"
#include "esp_partition.h"
#include "esp_littlefs.h"

Data Structures

struct  __lfs_slot_t
 

Macros

#define __VSF_LITTLEFS_CLASS_IMPLEMENT
 

Typedefs

typedef struct __lfs_slot_t __lfs_slot_t
 

Functions

esp_err_t esp_vfs_littlefs_register (const esp_vfs_littlefs_conf_t *conf)
 
esp_err_t esp_vfs_littlefs_unregister (const char *partition_label)
 
esp_err_t esp_littlefs_format (const char *partition_label)
 
esp_err_t esp_littlefs_info (const char *partition_label, size_t *total_bytes, size_t *used_bytes)
 
bool esp_littlefs_mounted (const char *partition_label)
 

Macro Definition Documentation

◆ __VSF_LITTLEFS_CLASS_IMPLEMENT

#define __VSF_LITTLEFS_CLASS_IMPLEMENT

Typedef Documentation

◆ __lfs_slot_t

typedef struct __lfs_slot_t __lfs_slot_t

Function Documentation

◆ esp_vfs_littlefs_register()

esp_err_t esp_vfs_littlefs_register ( const esp_vfs_littlefs_conf_t conf)

◆ esp_vfs_littlefs_unregister()

esp_err_t esp_vfs_littlefs_unregister ( const char *  partition_label)

◆ esp_littlefs_format()

esp_err_t esp_littlefs_format ( const char *  partition_label)

◆ esp_littlefs_info()

esp_err_t esp_littlefs_info ( const char *  partition_label,
size_t total_bytes,
size_t used_bytes 
)

◆ esp_littlefs_mounted()

bool esp_littlefs_mounted ( const char *  partition_label)
Generated from commit: vsfteam/vsf@015f4d1