NetBurner 3.5.8
PDF Version
Toggle main menu visibility
effsStdPartition.h
1
#ifndef _EFFS_STD_PARTITION_H
2
#define _EFFS_STD_PARTITION_H
3
4
#include <effs_pt.h>
5
#include <file/fsf.h>
6
#include <file/flashdrv.h>
7
#include <SPIFlash.h>
8
#include <sim.h>
9
10
11
extern
void
*AppFlash_ptDrvMem[];
12
extern
int (*AppFlash_fs_phy_fns[])( FS_FLASH *);
13
14
struct
treeWalker_t {
15
uint16_t depth;
16
uint16_t dirIdx[256];
17
};
18
19
struct
FileHolder {
20
FileHolder * pParent;
21
FileHolder * pSibling;
22
FileHolder * pChild;
23
long
flen;
24
unsigned
long
perm;
25
unsigned
short
ctime;
26
unsigned
short
cdate;
27
bool
isDir;
28
29
char
fname_data[];
30
};
31
32
33
extern
PartitionTable
NewTable;
34
extern
FileHolder * pt_files[8];
35
36
#define WALKER_STATE_BUILD 1
37
#define WALKER_STATE_DESCEND 2
38
#define WALKER_STATE_ASCEND 3
39
40
41
int
BuildTree(FileHolder *tree);
42
int
SaveFileTree(FileHolder *tree,
int
drv);
43
int
ShowFileTree(FileHolder *tree);
44
int
BuildFileTrees(FileHolder ** tree);
45
int
UnmountAllDrives();
46
void
CreateSecondPartition(uint32_t fs_size);
47
48
#endif
// _EFFS_STD_PARTITION_H
PartitionTable
Definition
MIMXRT10xx/include/effs_pt.h:81
examples
SSH
SecureSerToEthFactoryApp
src
effsStdPartition.h
Generated by
1.18.0