与APP对接OTA固件升级
This commit is contained in:
@@ -14,8 +14,15 @@ typedef struct
|
||||
const esp_partition_t *update;
|
||||
esp_ota_handle_t ota_handle;
|
||||
int total_size;
|
||||
uint16_t ota_data_cnt;
|
||||
uint8_t ota_buff[20480 + 512];
|
||||
}ota_u_t;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint32_t ota_file_size;
|
||||
}ota_parm_t;
|
||||
|
||||
/**
|
||||
* @brief 获取当前ota信息
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user