ESP8266 part of the f105-motor-demo project (see f105-motor-demo_stm32)
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.
 
 
 
 
 
 

22 lines
466 B

#ifndef CGIFLASH_H
#define CGIFLASH_H
#include "httpd.h"
#define CGIFLASH_TYPE_FW 0
#define CGIFLASH_TYPE_ESPFS 1
typedef struct {
int type;
int fw1Pos;
int fw2Pos;
int fwSize;
char *tagName;
} CgiUploadFlashDef;
httpd_cgi_state cgiReadFlash(HttpdConnData *connData);
httpd_cgi_state cgiGetFirmwareNext(HttpdConnData *connData);
httpd_cgi_state cgiUploadFirmware(HttpdConnData *connData);
httpd_cgi_state cgiRebootFirmware(HttpdConnData *connData);
#endif