mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
d0b9829eef
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
15 lines
906 B
Makefile
15 lines
906 B
Makefile
COMPONENT_ADD_INCLUDEDIRS := common/include
|
|
COMPONENT_PRIV_INCLUDEDIRS := common port modbus modbus/ascii modbus/functions
|
|
COMPONENT_PRIV_INCLUDEDIRS += modbus/rtu modbus/tcp modbus/include
|
|
COMPONENT_PRIV_INCLUDEDIRS += serial_slave/port serial_slave/modbus_controller
|
|
COMPONENT_PRIV_INCLUDEDIRS += serial_master/port serial_master/modbus_controller
|
|
COMPONENT_PRIV_INCLUDEDIRS += tcp_slave/port tcp_slave/modbus_controller
|
|
COMPONENT_PRIV_INCLUDEDIRS += tcp_master/port tcp_master/modbus_controller
|
|
COMPONENT_SRCDIRS := common
|
|
COMPONENT_SRCDIRS += modbus modbus/ascii modbus/functions modbus/rtu modbus/tcp
|
|
COMPONENT_SRCDIRS += serial_slave/port serial_slave/modbus_controller
|
|
COMPONENT_SRCDIRS += serial_master/port serial_master/modbus_controller
|
|
COMPONENT_SRCDIRS += tcp_slave/port tcp_slave/modbus_controller
|
|
COMPONENT_SRCDIRS += tcp_master/port tcp_master/modbus_controller
|
|
COMPONENT_SRCDIRS += port
|