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:
Alex Lisitsyn
2019-11-26 13:16:25 +08:00
committed by Angus Gratton
parent e8089c1edb
commit 67f62a79c1
76 changed files with 2080 additions and 1155 deletions
@@ -0,0 +1,5 @@
#
# Component Makefile
#
COMPONENT_ADD_INCLUDEDIRS := include
COMPONENT_SRCDIRS := .