Commit Graph
14 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 9716064cbb modbus: fix tcp slave destroy issues
* Original commit: espressif/esp-idf@224901fed3
2022-03-21 13:18:30 +01:00
Darian Leung ea81bd7fef freertos: Remove legacy data types
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.


* Original commit: espressif/esp-idf@57fd78f5ba
2022-03-21 13:18:30 +01:00
Alex Lisitsyn a0e61427d1 freemodbus: allow address gaps in master data dictionary (support of UID field in MBAP)
* Original commit: espressif/esp-idf@e9cdb3e0d3
2022-03-21 13:18:30 +01:00
Roland Dobai 13fa7753de Build & config: Remove leftover files from the unsupported "make" build system
* Original commit: espressif/esp-idf@766aa57084
2022-03-21 13:18:29 +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 aebff14d74 freemodbus: fix tcp master long frame buffer issue
* Original commit: espressif/esp-idf@0d393558d3
2022-03-21 13:18:29 +01:00
aleks 509c47fc76 freemodbus: fix timer port to use esp_timer instead of group timer
* Original commit: espressif/esp-idf@ee104f8de2
2022-03-21 13:18:24 +01:00
Alex Lisitsyn 0ddd723239 Bugfix/modbus fix copyright headers
* Original commit: espressif/esp-idf@bdf0298009
2022-03-21 13:15:54 +01:00
Alex Lisitsyn 4fc2d83143 freemodbus: fix TCP stack/examples reinitialization sequence
* Original commit: espressif/esp-idf@c965b48e77
2022-03-21 13:15:54 +01:00
Alex Lisitsyn eb45711d81 freemodbus: add support for list of area descriptors for each register area
add multi register area descriptors into concrete port (initial)
add create/destroy of area descriptors into concrete port
add  the list of descriptors in common slave interface structure and init/destroy in concrete slave port
move r/w callback functions into common slave
final update of common slave interface wrappers add override API option in concrete port
update slave examples to check new  feature


* Original commit: espressif/esp-idf@96b77a28b1
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
Angus Gratton e0102243f5 Whitespace: Automated whitespace fixes (large commit)
Apply the pre-commit hook whitespace fixes to all files in the repo.

(Line endings, blank lines at end of file, trailing whitespace)


* Original commit: espressif/esp-idf@66fb5a29bb
2022-03-21 13:15:54 +01:00
Alex Lisitsyn bf49bec977 examples: freemodbus add tcp support for common master/slave iface
Add TCP port files to provide Modbus TCP interface for communication
Add freemodbus add tcp support for common master/slave iface and tcp example based on socket API
The communication between master and slave checked for each example serial_master, serial_slave (use ModbusPoll TCP)
update tcp example according netif changes, fix ci issues
update TCP slave implementation
update example_test.py to to set IP through stdin
update API documentation
event bit instead of semahore to lock communication resource
update default options and master/slave port files

Closes https://github.com/espressif/esp-idf/issues/858
Closes IDF-452


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