File syn_lfs.h¶
File List > src > syntropic > storage > syn_lfs.h
Go to the documentation of this file
#ifndef SYN_LFS_H
#define SYN_LFS_H
#include "syn_vfs.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
uint32_t start_addr;
uint32_t size;
uint32_t block_size;
} SYN_LfsConfig;
const SYN_VfsOps *syn_lfs_get_ops(void);
#if __has_include("lfs.h")
#include "lfs.h"
void syn_lfs_init_config(struct lfs_config *cfg, const SYN_LfsConfig *syn_cfg);
#endif
#ifdef __cplusplus
}
#endif
#endif /* SYN_LFS_H */