Commit Graph
11 Commits
Author SHA1 Message Date
Chen Yudong d1a0493a79 CI: rename some tests to avoid duplicated test names
* Original commit: espressif/esp-idf@4dc74c9c42
2022-03-21 13:18:30 +01:00
Alex Lisitsyn 6d2cb13171 modbus: update to support other targets
* Original commit: espressif/esp-idf@0586be45d2
2022-03-21 13:18:29 +01:00
Alex Lisitsyn 0ddd723239 Bugfix/modbus fix copyright headers
* Original commit: espressif/esp-idf@bdf0298009
2022-03-21 13:15:54 +01:00
Fu Hanxi 84c8ac80ea style: format python files with isort and double-quote-string-fixer
* Original commit: espressif/esp-idf@0146f258d7
2022-03-21 13:15:54 +01:00
Alex Lisitsyn fb445432c4 Bugfix/fix RS485 ut fail
* Original commit: espressif/esp-idf@8737584789
2022-03-21 13:15:54 +01:00
Michael (XIAO Xufeng) c123f2895b Revert "ci: temporarily disable RS485 related tests"
This reverts commit 315aeecb73855526df9bb73061bba78630610b25

* Original commit: espressif/esp-idf@4941cf58d0
2022-03-21 13:15:54 +01:00
Ivan Grokhotkov 837bbe01b4 ci: temporarily disable RS485 related tests
* Original commit: espressif/esp-idf@983220e216
2022-03-21 13:15:54 +01:00
Alex Lisitsyn 7cb1e34dd6 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()


* Original commit: espressif/esp-idf@3abdd2207d
2022-03-21 13:15:54 +01:00
Alex Lisitsyn 8073747198 freemodbus: update poll event processing
update modbus poll event loop processing to process multiple events


* Original commit: espressif/esp-idf@44444208b7
2022-03-21 13:15:54 +01:00
He Yin Ling 160d99ff15 test: update example and unit tests with new import roles:
tiny_test_fw is a python package now. import it using normal way.


* Original commit: espressif/esp-idf@c906e2afee
2022-03-21 13:15:54 +01:00
Alex Lisitsyn 9f6f956db8 freemodbus: add modbus master ascii
add support of modbus master ascii
rename base dir name of master and slave example to be mb_slave, mb_master to avoid conflict with sdio/slave example test
add Kconfig option to enable ASCII and RTU mode separately
update ASCII options + remove cast for errors
added baudrate for examples into Kconfig
updated magic numbers for timer timeout
put ascii private definitions into one file


* Original commit: espressif/esp-idf@67f62a79c1
2022-03-21 13:15:54 +01:00