1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-13 13:01:55 +03:00

Update to pyserial 3.5, esptool 3.0 (#7737)

Recent releases may work better with some newer MacOS releases
according to their commit logs.

Ensure esptool detects the flash size and doesn't use the one hardcoded
in the bootloader.  Thanks to @d-a-v for noticing the esptool change.
This commit is contained in:
Earle F. Philhower, III
2020-12-01 17:41:23 -08:00
committed by GitHub
parent 11519dd1a0
commit 8565ac8fbc
3 changed files with 3 additions and 2 deletions

View File

@ -51,6 +51,7 @@ while len(sys.argv):
cmdline = cmdline + ['write_flash']
if len(write_option):
cmdline = cmdline + [write_option]
cmdline = cmdline + ['--flash_size', 'detect']
cmdline = cmdline + [write_addr, binary]
erase_file = ''