Skip to content

Commit

Permalink
flash speed 115200always for esp8266
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 committed Nov 15, 2023
1 parent 00ef06f commit ed69a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp_flasher/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def run_esp_flasher(argv):
stub_chip = chip_run_stub(chip)
flash_size = None

if args.upload_baud_rate != 115200:
if (args.upload_baud_rate != 115200) and ("ESP32" in info.family):
try:
stub_chip.change_baud(args.upload_baud_rate)
except esptool.FatalError as err:
Expand Down

0 comments on commit ed69a86

Please sign in to comment.