707N 手表SDK SD卡OTA使用教程
📎 原始文档:https://www.kdocs.cn/l/ctl9QVKvdEYZ 707N 手表SDK SD卡OTA使用教程
本文档提供参考。
补丁文件(请去除.dbt后解压)
707_watch_sdk100_支持sd卡OTA升级.zip.dbt
在SDK\apps\watch\board\br35\sdk_config.h中配置SD卡

在SDK\apps\watch\board\br35\sdk_config.h打开SD卡升级使能开关

在SDK\cpu\br35\tools\isd_config_rule.c 中设置BUOOT打印引脚


修改文件SDK\apps\common\dev_manager\dev_update.c

static struct __update_dev_reg sd0_update = {
.logo = "sd0",
.type = SD0_UPDATA,
.u.sd.control_type = SD_CONTROLLER_0,

#if defined(TCFG_SD0_POWER_PORT)
sprintf((char *)&sd0_update.u.sd.io_det_func, "P%c%02d", TCFG_SD0_POWER_PORT / 16 + 'A', TCFG_SD0_POWER_PORT % 16);
sd0_update.u.sd.power = 0;
printf(">>>[test]:sd0_update.u.sd.io_det_func = %s, power = %d\n", (char *)&sd0_update.u.sd.io_det_func, sd0_update.u.sd.power);
#endif
- 替换补丁中ota.bin到SDK\cpu\br35\tools 目录