NetBurner 3.1
fileup.h
1
/*NB_REVISION*/
2
3
/*NB_COPYRIGHT*/
4
5
#define FAT_UPDATE_OK (0)
6
#define FAT_UPDATE_SAMEVERSION (-1)
7
#define FAT_UPDATE_WRONG_PLATFORM (-2)
8
#define FAT_UPDATE_BAD_FORMAT (-3)
9
#define FAT_UPDATE_NO_MEM (-4)
10
11
/* This is the structure of an APP File */
12
struct
FlashStartUpStruct
13
{
14
unsigned
long
dwBlockRamStart;
15
unsigned
long
dwExecutionAddr;
16
unsigned
long
dwBlockSize;
17
unsigned
long
dwSrcBlockSize;
18
unsigned
long
dwBlockSum;
19
unsigned
long
dwStructSum;
20
};
21
22
int
UpdateFromFat( F_FILE * f, BOOL bUpdateEvenIfCurrent );
examples
EFFS
Fat
AppUpdate
src
fileup.h
Generated by
1.8.14