基本完成的所有收发功能

This commit is contained in:
2026-05-07 17:47:52 +08:00
parent 61530dccec
commit f05c3106f1
82 changed files with 3008 additions and 4922 deletions

View File

@ -50,13 +50,17 @@ extern "C" {
/* 硬件模块启用/禁用宏定义 */
#ifndef USE_W5500
#define USE_W5500 1 /* 默认启用W5500以太网模块 */
#define USE_W5500 0 /* 默认启用W5500以太网模块 */
#endif
#ifndef USE_RS485
#define USE_RS485 1 /* 默认启用RS485通信模块 */
#endif
/* =========================================================
🚀 核心身份标识:烧录不同设备时,请务必修改这个数字!
比如设备A烧录时改为 0x01设备B烧录时改为 0x02
========================================================= */
#define MY_DEVICE_ID 0x01
/* USER CODE END EM */
/* Exported functions prototypes ---------------------------------------------*/