1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit de30f21a222ec62f5a023dd955439b4f57702768 Subproject commit 4fa0bd7b0d1f69f5ff22b043adc07c5e562a8931

@ -1 +1 @@
Subproject commit c54c81d933b847458d465cd77e96cd702ff2e7be Subproject commit 0e7634747568547b8a7f9fd0c48ed74f16af4b23

View File

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