zhunk 1 год назад
Родитель
Сommit
66d18d3677

+ 1 - 0
Application_CBD/applications/dtu_uart2.c

@@ -106,6 +106,7 @@ static rt_err_t dtu_input(rt_device_t dev, rt_size_t size)
         {
             /* 消息队列满 */
             rt_kprintf("message queue full!\n");
+            rt_mq_control(&rx_mq_dtu, RT_IPC_CMD_RESET, RT_NULL); // 清空队列
         }
         return result;
 }

+ 1 - 0
Application_CBD/applications/hmi.c

@@ -119,6 +119,7 @@ static rt_err_t uart_input(rt_device_t dev, rt_size_t size)
     {
         /* 消息队列满 */
         LOG_I("hmi message queue full!\n");
+        rt_mq_control(&rx_mq, RT_IPC_CMD_RESET, RT_NULL); // 清空队列
     }
     return result;
 }

+ 2 - 2
CBD_FOTA_BootLoader/applications/main.c

@@ -33,8 +33,8 @@
 #include "sys_config.h"
 #include <easyflash.h>
 
-#define BL_VERSION "1.1.4"
-#define COMPILE "20230901"
+#define BL_VERSION "1.1.5"
+#define COMPILE "20250428"
 
 #define RTU_DTU GET_PIN(B,13)
 #define Beep    GET_PIN(B, 4)

+ 1 - 1
CBD_FOTA_BootLoader/applications/rt_fota.c

@@ -48,7 +48,7 @@
 #endif
 
 #ifndef RT_FOTA_ALGO_BUFF_SIZE
-#define RT_FOTA_ALGO_BUFF_SIZE				4096
+#define RT_FOTA_ALGO_BUFF_SIZE				2048        //2025-0428 CHANGE 2048
 #endif
 
 /**

+ 7 - 0
CBD_FOTA_BootLoader/readme.md

@@ -1,4 +1,11 @@
+
+
+
 # 版本说明
+#define BL_VERSION "1.1.5"
+#define COMPILE "20250428"
+#define RT_FOTA_ALGO_BUFF_SIZE				2048        //2025-0428 CHANGE 2048
+
 #define BL_VERSION "1.1.4"
 #define COMPILE "20230901"
 - 1. rt_fota.c中880行增加__set_CONTROL(0);