Supported File Systems - Moxa Technologies MiiNePort E1-SDK User Manual

Hide thumbs Also See for MiiNePort E1-SDK:
Table of Contents

Advertisement

There are two file systems in MiiNePort-SDK for you to access via file operation APIs: ROM file system and FAT
ROM File System
When you create your project under MiiNePort-IDE, you can find a directory named <romfs> under your
project directory, as shown in the following:
All files in <romfs> directory will be compiled into ROM file system of MiiNePort-SDK. The files in ROM file
system are available through the mount point "/sys". The maximum storage size of ROM file system is 512K
bytes.
All files in ROM file system are read only. In your application, if you need to read contents from some files but
do not need to write data to these files, you can put these read-only files in <romfs> directory under your
project, and open these files under "/sys" direcotry with O_RDONLY flag in your program.
Note:In your program, the files under "/sys" directory are read only, and you cannot create/delete files under
this directory.
FAT File System
There is a FAT file system with maximum storage size of 512K bytes in MiiNePort-SDK for you to
create/read/write/delete files. In your program, you can access FAT file system under "/usr" directory. This FAT
file system only supports 8.3 filename format. A 8.3 filename has at most eight characters, optionally followed
by a period "." and a filename extension of at most three characters. The long filename is not supported.
Example: File write/read

Supported File Systems

D.
D

Advertisement

Table of Contents
loading

This manual is also suitable for:

Miineport e2-sdk

Table of Contents