debug modbus slave
This commit is contained in:
+14
-21
@@ -158,7 +158,6 @@
|
||||
#define RT_CANSND_MSG_TIMEOUT 100
|
||||
#define RT_USING_I2C
|
||||
#define RT_USING_I2C_BITOPS
|
||||
#define RT_USING_RTC
|
||||
#define RT_USING_WDT
|
||||
#define RT_USING_PIN
|
||||
#define RT_USING_HWTIMER
|
||||
@@ -211,28 +210,24 @@
|
||||
/* IoT - internet of things */
|
||||
|
||||
#define PKG_USING_FREEMODBUS
|
||||
#define PKG_MODBUS_MASTER
|
||||
#define PKG_MODBUS_SLAVE
|
||||
|
||||
/* advanced configuration */
|
||||
|
||||
#define RT_M_DISCRETE_INPUT_START 0
|
||||
#define RT_M_DISCRETE_INPUT_NDISCRETES 16
|
||||
#define RT_M_COIL_START 0
|
||||
#define RT_M_COIL_NCOILS 64
|
||||
#define RT_M_REG_INPUT_START 0
|
||||
#define RT_M_REG_INPUT_NREGS 100
|
||||
#define RT_M_REG_HOLDING_START 0
|
||||
#define RT_M_REG_HOLDING_NREGS 100
|
||||
#define RT_M_HD_RESERVE 0
|
||||
#define RT_M_IN_RESERVE 0
|
||||
#define RT_M_CO_RESERVE 0
|
||||
#define RT_M_DI_RESERVE 0
|
||||
#define RT_S_DISCRETE_INPUT_START 0
|
||||
#define RT_S_DISCRETE_INPUT_NDISCRETES 16
|
||||
#define RT_S_COIL_START 0
|
||||
#define RT_S_COIL_NCOILS 64
|
||||
#define RT_S_REG_INPUT_START 0
|
||||
#define RT_S_REG_INPUT_NREGS 100
|
||||
#define RT_S_REG_HOLDING_START 0
|
||||
#define RT_S_REG_HOLDING_NREGS 100
|
||||
#define RT_S_HD_RESERVE 0
|
||||
#define RT_S_IN_RESERVE 0
|
||||
#define RT_S_CO_RESERVE 0
|
||||
#define RT_S_DI_RESERVE 0
|
||||
/* end of advanced configuration */
|
||||
#define PKG_MODBUS_MASTER_RTU
|
||||
#define PKG_MODBUS_MASTER_SAMPLE
|
||||
#define MB_SAMPLE_TEST_SLAVE_ADDR 1
|
||||
#define MB_MASTER_USING_PORT_NUM 1
|
||||
#define MB_MASTER_USING_PORT_BAUDRATE 115200
|
||||
#define PKG_MODBUS_SLAVE_RTU
|
||||
#define PKG_USING_FREEMODBUS_LATEST_VERSION
|
||||
|
||||
/* Wi-Fi */
|
||||
@@ -466,8 +461,6 @@
|
||||
#define BSP_USING_I2C4
|
||||
#define BSP_USING_CAN
|
||||
#define BSP_USING_CAN1
|
||||
#define BSP_USING_ONCHIP_RTC
|
||||
#define BSP_RTC_USING_LSE
|
||||
#define BSP_USING_WDT
|
||||
#define BSP_USING_ON_CHIP_FLASH
|
||||
#define BSP_USING_TIM
|
||||
|
||||
Reference in New Issue
Block a user