12 #include "prjParams.h"
23 #define STARTUP_VOLNAME "/startup"
24 #define STARTUP_ROOTDIR "/"
26 #define SYSTEM_VOLNAME "/system"
27 #define SYSTEM_ROOTDIR "/"
29 #define HISTORY_VOLNAME "/history"
30 #define HISTORY_ROOTDIR "/"
31 #define HISTORY_DIAGS_PATH SYSTEM_VOLNAME
33 #ifdef INCLUDE_OLD_T2750_BOARD_FLASH_SUPPORT
35 #define STARTUP_SIZE 0x00A00000
36 #define SYSTEM_SIZE 0x00200000
37 #define HISTORY_SIZE 0x01000000
40 #define STARTUP_SIZE 0x01000000
41 #define SYSTEM_SIZE 0x00600000
42 #define HISTORY_SIZE 0x06100000
52 } BspAppFlashPartitions;
54 #ifdef INCLUDE_EUROTHERM_HFFS
55 extern int hffsFormatReqd;
56 extern void hffsInstall();
59 extern STATUS writeBootrom(
char * z_bootromFile, UINT8 *z_macAddr);
60 extern int getFlashDriveNumFromPath(
const char * path );
61 extern const char * getFlashVolName (
int drive);
62 extern int getFlashVolNum (
int drive);
63 extern const char * getFlashVolRootDir (
int drive);
64 extern void listFlashDriveInfo (
int drive,
void *log );
65 extern BOOL listFlashDir (
const char *dirPath,
67 unsigned long *pRtnSize,
68 unsigned long *pRtnFiles,
69 unsigned long *pRtnDirs,
73 extern uint8 g_systemPartitionCorrupt;
74 extern uint8 g_historyPartitionCorrupt;
75 extern unsigned long listFFSProperties( BspFlashPartition partition, FILE * log );
76 extern void formatFlashDrive(
int drive);
77 extern void mountFlashDrive(
int drive);