Skip to content

Commit da828a0

Browse files
Increase baud
1 parent 4df753d commit da828a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tom_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
if r.ok:
2929
open('firmware.bin', 'wb').write(r.content)
3030
esptool.main(["--baud", "115200", "--port", item.device, "erase_flash"])
31-
esptool.main(["--baud", "115200", "--port", item.device, "--before", "default_reset", "--after", "hard_reset", "write_flash", "-z", "--flash_mode", "dio", "--flash_freq", "80m", "--flash_size", "detect", "0x1e1000", "initial_fs.zip", "0xd000", "ota_data_initial.bin", "0x1000", "bootloader.bin", "0x10000", "firmware.bin", "0x8000", "campzone2020_16MB.bin"])
31+
esptool.main(["--baud", "460800", "--port", item.device, "--before", "default_reset", "--after", "hard_reset", "write_flash", "-z", "--flash_mode", "dio", "--flash_freq", "80m", "--flash_size", "detect", "0x1e1000", "initial_fs.zip", "0xd000", "ota_data_initial.bin", "0x1000", "bootloader.bin", "0x10000", "firmware.bin", "0x8000", "campzone2020_16MB.bin"])
3232
print("""
3333
Flash succes!
3434
Further instructions:

0 commit comments

Comments
 (0)