Skip to content

Commit 8565ac8

Browse files
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.
1 parent 11519dd commit 8565ac8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

tools/esptool

Submodule esptool updated 117 files

tools/upload.py

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
cmdline = cmdline + ['write_flash']
5252
if len(write_option):
5353
cmdline = cmdline + [write_option]
54+
cmdline = cmdline + ['--flash_size', 'detect']
5455
cmdline = cmdline + [write_addr, binary]
5556

5657
erase_file = ''

0 commit comments

Comments
 (0)