forked from espressif/esp-protocols
		
	feat(examples): Add build/host tests to examples
This commit is contained in:
		
							
								
								
									
										3
									
								
								examples/.build-test-rules.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								examples/.build-test-rules.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
examples/esp_netif/multiple_netifs:
 | 
			
		||||
  disable:
 | 
			
		||||
    - if: IDF_TARGET != "esp32"
 | 
			
		||||
@@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.16)
 | 
			
		||||
# For ESP32 platform target
 | 
			
		||||
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/protocol_examples_common)
 | 
			
		||||
 | 
			
		||||
if(${IDF_TARGET} STREQUAL "linux")
 | 
			
		||||
if("${IDF_TARGET}" STREQUAL "linux")
 | 
			
		||||
# For linux-target we have two options:
 | 
			
		||||
# - With lwIP (must be defined on command line, e.g. idf.py -DWITH_LWIP=1)
 | 
			
		||||
#     access networking from linux `tap` interface (TAP networking mode)
 | 
			
		||||
 
 | 
			
		||||
@@ -1,2 +0,0 @@
 | 
			
		||||
CONFIG_IDF_TARGET="linux"
 | 
			
		||||
# CONFIG_ESP_EVENT_POST_FROM_ISR is not set
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										3
									
								
								examples/mqtt/sdkconfig.defaults.esp32h2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								examples/mqtt/sdkconfig.defaults.esp32h2
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
CONFIG_IDF_TARGET="esp32h2"
 | 
			
		||||
CONFIG_EXAMPLE_CONNECT_WIFI=n
 | 
			
		||||
CONFIG_EXAMPLE_CONNECT_ETHERNET=y
 | 
			
		||||
							
								
								
									
										2
									
								
								examples/mqtt/sdkconfig.defaults.linux
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								examples/mqtt/sdkconfig.defaults.linux
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
CONFIG_IDF_TARGET="linux"
 | 
			
		||||
# CONFIG_ESP_EVENT_POST_FROM_ISR is not set
 | 
			
		||||
		Reference in New Issue
	
	Block a user