File System
[System Modules]


Files

file  fs.h
 Primary File System.

Detailed Description

The Modtronix TCP/IP Stack can be configured to use a couple of different storage mediums for its file system. The chosen medium is called the "Primary File System". The Primary File System is configured by defining one of the X_IS_PRIMARY_FS defines.

For example, to make the FSEE module (uses a I2C EEPROM as storage medium) the primary File System, the following define must be added to the code (It is normally added to the "projdefs.h" file):

#define FSEE_IS_PRIMARY_FS
To make the FSFRAM module (uses a SPI FRAM as storage medium) the primary File System, the following define must be added to the code (It is normally added to the "projdefs.h" file):
#define FSFRAM_IS_PRIMARY_FS

The Modtronix TCP/IP stack has been designed so other mediums can easily be used as the file system. For example, to use a SD Card as the file system, the "fsee.c" and "fsee.h" files can be used as a starting point, and modified for a SD Card. Future versions of this stack might contain implementations for using Atmel DataFlash chips and SD Cards as the primary file system.


Generated on Wed Feb 3 12:45:36 2010 for SBC65EC Web Server by  doxygen 1.5.8