mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Fix AsyncTCP compilation on ESP32 with Arduino breaking change (#334)
This commit is contained in:
		| @@ -279,10 +279,11 @@ def gather_lib_deps(): | ||||
|     if CORE.is_esp32: | ||||
|         lib_deps |= { | ||||
|             'Preferences',  # Preferences helper | ||||
|             'AsyncTCP@1.0.1',  # Pin AsyncTCP version | ||||
|         } | ||||
|         # Manual fix for AsyncTCP | ||||
|         if CORE.config[CONF_ESPHOMEYAML].get(CONF_ARDUINO_VERSION) == ARDUINO_VERSION_ESP32_DEV: | ||||
|             lib_deps.add('https://github.com/me-no-dev/AsyncTCP.git#idf-update') | ||||
|             lib_deps.add('AsyncTCP@1.0.3') | ||||
|             lib_deps.discard('AsyncTCP@1.0.1') | ||||
|     # avoid changing build flags order | ||||
|     return list(sorted(x for x in lib_deps if x)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user