修复多连接的问题

This commit is contained in:
2026-07-19 15:27:49 +08:00
parent 9ed4c22022
commit e06d849007
38 changed files with 2475 additions and 1953 deletions

42
App/app_cfg.h Normal file
View File

@@ -0,0 +1,42 @@
/*
* 模块名称Application Configuration
* 模块功能:应用层全局配置宏,控制功能模块的编译开关
* 适用平台STM32F407ZGTx
* 作者:王建锋
* 创建日期2026-07-19
* 修改记录:
* v1.0 2026-07-19 王建锋 创建初始版本
*/
#ifndef __APP_CFG_H
#define __APP_CFG_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* 系统时钟源选择
* 0 - DWT CYCCNT默认0 外设开销)
* 1 - TIM232-bit 定时器,独立于 DWT
*/
#define APP_SYS_TIME_SRC 0
/*
* 时间戳输出使能
* 定义后在日志行首自动追加 [T ssssss.uuuuuu] 微秒时间戳
*/
#define APP_TIMESTAMP_ENABLE
/*
* 功能模块使能开关
*/
#define APP_NET_ENABLE
#define APP_ADC_ENABLE
#define APP_RS485_ENABLE
#ifdef __cplusplus
}
#endif
#endif /* __APP_CFG_H */