基本完成的所有收发功能
This commit is contained in:
@ -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 ---------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user