Added suggestion to use lower baudrate if flashing fails on ESP32

This commit is contained in:
Santiago Lema 2023-08-14 20:47:40 +02:00
parent c87c5c9709
commit 91ede52634

3
RNS/Utilities/rnodeconf.py Normal file → Executable file
View File

@ -2467,6 +2467,9 @@ def main():
RNS.log("Waiting for ESP32 reset...") RNS.log("Waiting for ESP32 reset...")
time.sleep(7) time.sleep(7)
else: else:
RNS.log("Non-zero return code ("+str(flash_status)+") while flashing")
RNS.log("Try again with slower speeds for example like this:")
RNS.log("rnodeconf --autoinstall --baud-flash 115200")
exit() exit()
except Exception as e: except Exception as e: