适配HSP更新

This commit is contained in:
2026-04-14 18:25:35 +08:00
parent 2cf04221d5
commit d9873206cc
4 changed files with 23 additions and 5 deletions

View File

@@ -21,19 +21,25 @@
{WIFI, 1, {GUI}}, \
{ACM, 2, {WIFI, GUI}}, \
}
#define CEHCK_CONFIG_H 1 // 如果打开代码初始化时会检查config是否写错开发时应该打开
/* 如果打开代码初始化时会检查config是否写错开发时应该打开 */
#define CEHCK_CONFIG_H 1
/* 4.选择操作系统 */
#define HAS_OS_LINUX // Linux系统
// #define HAS_OS_freeRTOS // freeRTOS系统
// #define HAS_OS_RT_THREAD // rt-thread系统
// #define HAS_OS_NONE_OR_OSAL // 裸机或osal
// #define HAS_OS_USER_DEFINED // 自定义,806
#ifdef HAS_OS_USER_DEFINED
/* 这里包含自定义的头文件 */
#include "has_806_os_port/has_os_806_port.h"
#endif
/* 5.打开需要的模块 */
#define HAS_ENABLE_TIMER // 启用软件定时器模块
#define HAS_ENABLE_IOBUFFER // 协议数据缓冲区管理
#define HAS_ENABLE_PROTOCOL // HAS协议模块
// #define HAS_ENABLE_CRC // CRC
// #define HAS_ENABLE_CJSON // CJSON
// #define HAS_ENABLE_MD5 // MD5
#endif