Embedded TCP/IP stack
4.7.0
|
The FNET ROM File System provides read-only access to files and directories.
The FNET project has the special GUI PC tool that is used to create the ROM file-system image files.
After the FS is initialized by calling the fnet_fs_init() function, a user application should call the fnet_fs_rom_register() function and finally mount a ROM FS Image by passing the FNET_FS_ROM_NAME and the fnet_fs_rom_image_t structure as arguments to the fnet_fs_mount() function.
Thereafter an application has access to files and directories on the mounted FNET ROM FS image.
For example:
Configuration parameters:
Data Structures | |
struct | fnet_fs_rom_node |
FNET ROM file-system node. The node represents a file or a directory. More... | |
struct | fnet_fs_rom_image |
FNET ROM file-system image. More... | |
Macros | |
#define | FNET_FS_ROM_NAME |
FNET ROM file-system name string. More... | |
#define | FNET_FS_ROM_VERSION |
FNET ROM file-system current version. More... | |
Typedefs | |
typedef struct fnet_fs_rom_node | fnet_fs_rom_node_t |
FNET ROM file-system node. The node represents a file or a directory. More... | |
typedef struct fnet_fs_rom_image | fnet_fs_rom_image_t |
FNET ROM file-system image. More... | |
Functions | |
void | fnet_fs_rom_register (void) |
Registers the FNET ROM file system. More... | |
void | fnet_fs_rom_unregister (void) |
Unregisters the FNET ROM file system. More... | |