upgrade rtt 5.2.2
This commit is contained in:
+1
-21
@@ -75,6 +75,7 @@
|
||||
#define RT_USING_IDLE_HOOK
|
||||
#define RT_IDLE_HOOK_LIST_SIZE 4
|
||||
#define IDLE_THREAD_STACK_SIZE 256
|
||||
#define RT_USING_CPU_USAGE_TRACER
|
||||
|
||||
/* kservice options */
|
||||
|
||||
@@ -232,27 +233,6 @@
|
||||
#define MB_SAMPLE_TEST_SLAVE_ADDR 1
|
||||
#define MB_MASTER_USING_PORT_NUM 1
|
||||
#define MB_MASTER_USING_PORT_BAUDRATE 115200
|
||||
|
||||
/* advanced configuration */
|
||||
|
||||
#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_SLAVE_RTU
|
||||
#define PKG_MODBUS_SLAVE_SAMPLE
|
||||
#define MB_SAMPLE_SLAVE_ADDR 1
|
||||
#define MB_SLAVE_USING_PORT_NUM 2
|
||||
#define MB_SLAVE_USING_PORT_BAUDRATE 115200
|
||||
#define PKG_USING_FREEMODBUS_LATEST_VERSION
|
||||
|
||||
/* Wi-Fi */
|
||||
|
||||
Reference in New Issue
Block a user