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
This commit is contained in:
committed by
Angus Gratton
parent
e8089c1edb
commit
67f62a79c1
@@ -101,11 +101,11 @@ Application Example
|
||||
-------------------
|
||||
|
||||
|
||||
The examples below use the FreeModbus library port for slave and master implementation accordingly. The selection of stack is performed through KConfig menu "Selection of Modbus stack support mode" and related configuration keys.
|
||||
The examples below use the FreeModbus library port for serial slave and master implementation accordingly. The selection of stack is performed through KConfig menu "Selection of Modbus stack support mode" and related configuration keys.
|
||||
|
||||
:example:`protocols/modbus_slave`
|
||||
:example:`protocols/modbus/serial/mb_slave`
|
||||
|
||||
:example:`protocols/modbus_master`
|
||||
:example:`protocols/modbus/serial/mb_master`
|
||||
|
||||
Please refer to the specific example README.md for details.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user