使用赋码仪主板 app升级,方案升级验证通过

This commit is contained in:
ranchuan
2023-10-11 18:10:06 +08:00
parent ed9e4c0c3e
commit f0f36cf79a
25 changed files with 324 additions and 207 deletions

View File

@@ -106,7 +106,12 @@ static int flash_erase(uint32_t sector)
}
}
// 擦除指定地址
int flash_erase_addr(uint32_t addr)
{
addr=addr-FLASH_BASE;
return flash_erase(addr/2048);
}
// 操作开始
int flash_operate_start(void)