mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-02 14:22: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:
committed by
GitHub
parent
11519dd1a0
commit
8565ac8fbc
Submodule tools/esptool updated: de30f21a22...4fa0bd7b0d
Submodule tools/pyserial updated: c54c81d933...0e76347475
@ -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 = ''
|
||||||
|
Reference in New Issue
Block a user