freemodbus: fix long buffer failure

check master read write functions with array of registers)
fix master serial processing code and modbus controller to work with register array
modbus_master: add reading and writing of test value array (58 registers) to check failure is gone
remove parameter temporary buffer from modbus controller to allow more than 24 byte writes
driver: fix issue with TOUT feature
driver: fix uart_rx_timeout issue
driver: fix issue with rxfifo_tout_int_raw not triggered when received fifo_len = 120 byte and all bytes read out of fifo as result of rxfifo_full_int_raw
driver: add function uart_internal_set_always_rx_timeout() to always handle tout interrupt
examples: call uart_internal_set_always_rx_timeout() to handle tout interrupt correctly
examples: update examples to use tout feature
driver: reflect changes of uart_set_always_rx_timeout() function, change uart.c
driver: change conditions to trigger workaround for tout feature in uart.c
driver: change uart_set_always_rx_timeout()
freemodbus: fix tabs, remove commented code
driver: remove uart_ll_is_rx_idle()
This commit is contained in:
Alex Lisitsyn
2020-03-30 22:05:48 +08:00
committed by Michael (XIAO Xufeng)
parent 135aa51d06
commit 3abdd2207d
26 changed files with 387 additions and 305 deletions
@@ -49,6 +49,7 @@ typedef struct
float holding_data1;
float holding_data2;
float holding_data3;
uint16_t test_regs[150];
} holding_reg_params_t;
#pragma pack(pop)