实现复位飞控进入isp模式,并擦除内存
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
#include "ota_u.h"
|
||||
#include "../../config/app_config.h"
|
||||
|
||||
#define FC_ADDRESS "0x08000000"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
device_t device;
|
||||
@@ -25,6 +27,7 @@ typedef struct
|
||||
//STMISP协议
|
||||
stmisp_device_t stmisp_device;
|
||||
|
||||
uint32_t fc_address;
|
||||
}sertrf_t;
|
||||
|
||||
typedef struct
|
||||
@@ -82,4 +85,8 @@ void pc_link_rgb_color(device_t* device);
|
||||
* @brief 打印时间间隔
|
||||
*/
|
||||
void printf_chill_time(uint8_t chill_time, uint16_t type);
|
||||
/**
|
||||
* @brief 字符串转十进制
|
||||
*/
|
||||
uint32_t parse_hex_or_dec(const char *s);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user