mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Autodetect flash size (#2615)
This commit is contained in:
		| @@ -226,6 +226,8 @@ def upload_using_esptool(config, port): | |||||||
|             mcu, |             mcu, | ||||||
|             "write_flash", |             "write_flash", | ||||||
|             "-z", |             "-z", | ||||||
|  |             "--flash_size", | ||||||
|  |             "detect", | ||||||
|         ] |         ] | ||||||
|         for img in flash_images: |         for img in flash_images: | ||||||
|             cmd += [img.offset, img.path] |             cmd += [img.offset, img.path] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user