NetBurner 3.0
effsstd.h
1 /*NB_REVISION*/
2 
3 /*NB_COPYRIGHT*/
4 
5 /*
6  *-------------------------------------------------------------------
7  * Embedded Flash File System for on-chip flash memory (EFFS-STD)
8  * configuration file for common parameters.
9  * This file is part of an example that allocates flash space
10  * to the file system, and the rest to the application.
11  *
12  * Note:
13  * COMPCODEFLAGS contain starting and ending addresses
14  * of application. To add file system you must modify the ending
15  * address to provide for the flash used. Not to do so will result
16  * in unpredictable results.
17  *
18  * See"
19  * "NetBurner Embedded Flash File System, Hardware and Software
20  * Guide" for detailed information.
21  *
22  *-------------------------------------------------------------------
23  */
24 
25 #ifndef _EFFSSTD_H_
26 #define _EFFSSTD_H_
27 
28 /*******************************************************************
29  * Definitions
30  *******************************************************************/
31 /* On-chip Flash NOR */
32 //#define USE_NOR
33 
34 /* Drive numbers */
35 #define NOR_DRV_NUM 0
36 #define STDRAM_DRV_NUM 1
37 #define MMC_DRV_NUM 2
38 #define CFC_DRV_NUM 3
39 #define HDD_DRV_NUM 3
40 #define FATRAM_DRV_NUM 4
41 #define S19_DRV_NUM 5
42 
43 #define FS_NO_ERROR FS_NOERR
44 
45 #endif /* #ifndef _EFFSSTD_H_ */