examples: freemodbus port slave basic implementation

This example adds functionality to support basic communication in RS485 networks using Modbus protocol.
This example uses FreeModbus stack and regular UART driver API to communicate in RS485 half duplex mode.
Added initial support of modbus controller pure C api to access device parameters over Modbus transport.
Move freemodbus stack and port files into components folder
Move the modbus_controller interface into components idf folder
Source files updated after review.
Add modbus interface documentation docs/en/api-reference/protocols/modbus.rst
porttimer.c: fix bug with timer1 selected in the Kconfig
Add support of cmake system (added cmake files)

Closes https://github.com/espressif/esp-idf/issues/858
This commit is contained in:
Alex Lisitsyn
2018-06-28 17:45:41 +02:00
parent 5b7b64b946
commit f0eb9985b9
46 changed files with 5866 additions and 4 deletions
+2 -1
View File
@@ -296,6 +296,7 @@ build_docs:
- docs/en/sphinx-warning-log.txt
- docs/en/sphinx-warning-log-sanitized.txt
- docs/en/_build/html
- docs/sphinx-err-*
# Chinese version of documentation
- docs/zh_CN/doxygen-warning-log.txt
- docs/zh_CN/sphinx-warning-log.txt
@@ -307,7 +308,7 @@ build_docs:
- ./check_lang_folder_sync.sh
- cd en
- make gh-linkcheck
- make html
- make html || cat /tmp/sphinx-err*.log
- ../check_doc_warnings.sh
- cd ../zh_CN
- make gh-linkcheck