mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 06:11:06 +00:00 
			
		
		
		
	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
		
			
				
	
	
		
			10 lines
		
	
	
		
			323 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			323 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
# The following lines of boilerplate have to be in your project's CMakeLists
 | 
						|
# in this exact order for cmake to work correctly
 | 
						|
cmake_minimum_required(VERSION 3.5)
 | 
						|
 | 
						|
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/protocols/modbus/mb_example_common)
 | 
						|
 | 
						|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
 | 
						|
 | 
						|
project(modbus_slave)
 |