mirror of https://github.com/jeelabs/esp-link.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
386 B
19 lines
386 B
10 years ago
|
#ifndef ESPFS_H
|
||
|
#define ESPFS_H
|
||
|
|
||
10 years ago
|
//Define this if you want to be able to use Heatshrink-compressed espfs images.
|
||
|
#define ESPFS_HEATSHRINK
|
||
|
|
||
|
//Pos of esp fs in flash
|
||
|
#define ESPFS_POS 0x12000
|
||
|
#define ESPFS_SIZE 0x2E000
|
||
10 years ago
|
|
||
10 years ago
|
|
||
10 years ago
|
typedef struct EspFsFile EspFsFile;
|
||
|
|
||
|
EspFsFile *espFsOpen(char *fileName);
|
||
|
int espFsRead(EspFsFile *fh, char *buff, int len);
|
||
|
void espFsClose(EspFsFile *fh);
|
||
|
|
||
|
|
||
|
#endif
|