xipfs_fs.h File Reference

xipfs integration with vfs More...

Detailed Description

#include "vfs.h"
#include "mtd_flashpage.h"
#include "mutex.h"
#include "include/xipfs.h"
+ Include dependency graph for xipfs_fs.h:

Go to the source code of this file.

Data Structures

struct  vfs_xipfs_mount_s
 xipfs descriptor for vfs integration More...
 

Macros

#define XIPFS_NEW_PARTITION(id, path, num)
 Allocate a new contiguous space aligned to a page in the non-volatile addressable memory of the MCU to serve as a partition for an xipfs file system. More...
 

Typedefs

typedef struct vfs_xipfs_mount_s vfs_xipfs_mount_t
 xipfs descriptor for vfs integration More...
 

Functions

int xipfs_construct_from_flashpage (mtd_flashpage_t *flashpage, const char *path, mutex_t *execution_mutex, mutex_t *mutex, vfs_xipfs_mount_t *vfs_xipfs_mount)
 vfs_xipfs_mount_t constructor from a mtd_flashpage_t. More...
 
int xipfs_extended_driver_new_file (const char *full_path, uint32_t size, uint32_t exec)
 Executable or regular new file. More...
 
int xipfs_extended_driver_execv (const char *full_path, char *const argv[])
 Executes an executable file with arguments. More...
 

Variables

const vfs_file_system_t xipfs_file_system
 The xipfs vfs driver.