feat: 新增PD充电带模式设置流程,完善调试开关与升级文档

1. apps/boot/application/main.c: 注释掉跳转APP代码,启用APP_Running循环
2. apps/chrg/applications/thread/chrg_roll_nor.h: 新增5个带模式设置的状态索引
3. apps/chrg/applications/thread/chrg_north.h: 开启Sink协议调试,关闭南向命令调试
4. docs\power_board_upgrade_issues_and_plan.md: 新增功率板升级问题与修改计划文档
5. apps/chrg/applications/thread/chrg_roll_nor.c: 新增模式设置相关状态处理逻辑,适配新增状态索引
6. apps/chrg/applications/thread/chrg_comm.c: 新增YModem超时机制、调试日志与升级控制帧发送逻辑,完善升级流程
This commit is contained in:
wrh
2026-09-08 20:24:04 +08:00
parent 2bf408472c
commit fe15dd48fe
6 changed files with 421 additions and 29 deletions
+2 -2
View File
@@ -240,10 +240,10 @@ int main (void)
VERSION_MAIN, VERSION_SUB, VERSION_FIX, BUILD_TIMESTAMP);
#endif
APP_Init();
boot_JumpToAPP();
//boot_JumpToAPP();
while (1) {
//APP_Running();
APP_Running();
}
return -1;