mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-29 22:24:26 +00:00 
			
		
		
		
	List the correct boards when building for ESP32 (#589)
* List the ESP32 boards for ESP32 builds. * Sort the list of valid boards.
This commit is contained in:
		
				
					committed by
					
						 Otto Winter
						Otto Winter
					
				
			
			
				
	
			
			
			
						parent
						
							2617e5092b
						
					
				
				
					commit
					4e520d13dd
				
			| @@ -38,7 +38,7 @@ def validate_board(value): | ||||
|  | ||||
|     if value not in board_pins: | ||||
|         raise cv.Invalid(u"Could not find board '{}'. Valid boards are {}".format( | ||||
|             value, u', '.join(pins.ESP8266_BOARD_PINS.keys()))) | ||||
|             value, u', '.join(sorted(board_pins.keys())))) | ||||
|     return value | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user