kopia lustrzana https://github.com/SP8EBC/ParaTNC
compilation without Modbus RTU enabled in station_config.h
rodzic
cf3a855e08
commit
53ebcfe7b8
|
@ -4,8 +4,8 @@
|
||||||
#include "aprs/ax25.h"
|
#include "aprs/ax25.h"
|
||||||
#include "drivers/serial.h"
|
#include "drivers/serial.h"
|
||||||
|
|
||||||
#define SW_VER "DF09"
|
#define SW_VER "DF10"
|
||||||
#define SW_DATE "22112020"
|
#define SW_DATE "28122020"
|
||||||
|
|
||||||
#define SYSTICK_TICKS_PER_SECONDS 100
|
#define SYSTICK_TICKS_PER_SECONDS 100
|
||||||
#define SYSTICK_TICKS_PERIOD 10
|
#define SYSTICK_TICKS_PERIOD 10
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
#include "modbus_rtu/rtu_pool_queue_t.h"
|
#include "modbus_rtu/rtu_pool_queue_t.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
extern uint8_t rte_rtu_number_of_serial_io_errors;
|
extern uint8_t rte_rtu_number_of_serial_io_errors;
|
||||||
|
|
||||||
extern uint16_t rte_rtu_number_of_successfull_serial_comm;
|
extern uint16_t rte_rtu_number_of_successfull_serial_comm;
|
||||||
|
|
|
@ -8,6 +8,10 @@
|
||||||
#ifndef INCLUDE_MODBUS_RTU_RTU_CONFIGURATION_H_
|
#ifndef INCLUDE_MODBUS_RTU_RTU_CONFIGURATION_H_
|
||||||
#define INCLUDE_MODBUS_RTU_RTU_CONFIGURATION_H_
|
#define INCLUDE_MODBUS_RTU_RTU_CONFIGURATION_H_
|
||||||
|
|
||||||
|
#include "station_config.h"
|
||||||
|
|
||||||
|
#ifdef _UMB_MASTER
|
||||||
|
|
||||||
#define RTU_GETTERS_F1_NAME rte_wx_modbus_rtu_f1
|
#define RTU_GETTERS_F1_NAME rte_wx_modbus_rtu_f1
|
||||||
#define RTU_GETTERS_F2_NAME rte_wx_modbus_rtu_f2
|
#define RTU_GETTERS_F2_NAME rte_wx_modbus_rtu_f2
|
||||||
#define RTU_GETTERS_F3_NAME rte_wx_modbus_rtu_f3
|
#define RTU_GETTERS_F3_NAME rte_wx_modbus_rtu_f3
|
||||||
|
@ -15,6 +19,8 @@
|
||||||
#define RTU_GETTERS_F5_NAME rte_wx_modbus_rtu_f5
|
#define RTU_GETTERS_F5_NAME rte_wx_modbus_rtu_f5
|
||||||
#define RTU_GETTERS_F6_NAME rte_wx_modbus_rtu_f6
|
#define RTU_GETTERS_F6_NAME rte_wx_modbus_rtu_f6
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#define RTU_NUMBER_OF_ERRORS_TO_TRIG_STATUS 32
|
#define RTU_NUMBER_OF_ERRORS_TO_TRIG_STATUS 32
|
||||||
|
|
||||||
#define RTU_POOL_QUEUE_LENGHT 6
|
#define RTU_POOL_QUEUE_LENGHT 6
|
||||||
|
|
Ładowanie…
Reference in New Issue