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
4 lines
No EOL
109 B
CMake
4 lines
No EOL
109 B
CMake
set(PROJECT_NAME "modbus_slave")
|
|
|
|
idf_component_register(SRCS "slave.c"
|
|
INCLUDE_DIRS ".") |