From 653ade2a57434815f2b25d2ad6ef3a6da6b0a19e Mon Sep 17 00:00:00 2001 From: Justin Oros Date: Sat, 9 May 2026 17:39:27 -0700 Subject: [PATCH] Increase backup baud rate to 921600 for faster flash read --- install.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.py b/install.py index bb55e27..3a4c30c 100755 --- a/install.py +++ b/install.py @@ -104,7 +104,7 @@ def backup_device(): print(f"\n Reading flash from {port} → {filename} ...") result = subprocess.run( - f"esptool --port {port} read-flash 0x0 ALL {filename}", + f"esptool --port {port} --baud 921600 read-flash 0x0 ALL {filename}", shell=True, ) @@ -112,7 +112,7 @@ def backup_device(): print(f" ✓ Backup saved to {filename}") print() print(f" To restore your device to this backup, run:") - print(f" esptool --port {port} write-flash 0x0 {filename}") + print(f" esptool --port {port} --baud 921600 write-flash 0x0 {filename}") else: print(" ✗ Backup failed. You can continue or abort and retry manually.") if input(" Continue without backup? [y/N]: ").strip().lower() not in ("y", "yes"):