zhunk 6 mesi fa
parent
commit
a510ffe20a

+ 1 - 1
Application_cbd_apm32f1/applications/control.h

@@ -17,7 +17,7 @@
 #define SENSOR_EN        0              //温湿度:0关闭,1打开
 #define SENSOR_EN        0              //温湿度:0关闭,1打开
 #define PCB_V1           0             //1-旧PCB,0-新PCB(模块化)
 #define PCB_V1           0             //1-旧PCB,0-新PCB(模块化)
 ////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////
-#define VERSION_BZY         "3.4.3"                   //孢子仪
+#define VERSION_BZY         "3.5.3"                   //孢子仪
 
 
 /*********************************************************************/
 /*********************************************************************/
 typedef struct  _packed
 typedef struct  _packed

+ 1 - 1
Application_cbd_apm32f1/packages/ota_downloader-v1.0.0/src/ymodem_ota.c

@@ -115,7 +115,7 @@ void ymodem_ota(uint8_t argc, char **argv)
     }
     }
     rt_kprintf("Warning: Ymodem has started! This operator will not recovery.\n");
     rt_kprintf("Warning: Ymodem has started! This operator will not recovery.\n");
     rt_kprintf("Please select the ota firmware file and use Ymodem to send.\n");
     rt_kprintf("Please select the ota firmware file and use Ymodem to send.\n");
-    rt_console_set_device("uart2");
+    rt_console_set_device("uart5");
     if (!rym_recv_on_device(&rctx, rt_console_get_device(), RT_DEVICE_OFLAG_RDWR | RT_DEVICE_FLAG_INT_RX,
     if (!rym_recv_on_device(&rctx, rt_console_get_device(), RT_DEVICE_OFLAG_RDWR | RT_DEVICE_FLAG_INT_RX,
                             ymodem_on_begin, ymodem_on_data, NULL, RT_TICK_PER_SECOND))
                             ymodem_on_begin, ymodem_on_data, NULL, RT_TICK_PER_SECOND))
     {
     {

+ 3 - 0
Application_cbd_apm32f1/readme.md

@@ -1,3 +1,6 @@
+# 2026-05-22 更新说明
+	#define VERSION_BZY         "3.5.3"                //孢子仪V1.3
+	1、修复Ymodem升级错误,串口没有修改;
 # 2026-05-20 更新说明
 # 2026-05-20 更新说明
 	#define VERSION_BZY         "3.4.3"                //孢子仪V1.3
 	#define VERSION_BZY         "3.4.3"                //孢子仪V1.3
 	1、修复电流采集不正确;
 	1、修复电流采集不正确;