EspDevices: modified to show the process progress for flash reading and writing operations.

Sun, 08 Dec 2019 13:08:48 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 08 Dec 2019 13:08:48 +0100
changeset 7355
c7146f7e06aa
parent 7354
d6aec4160f6b
child 7356
d975331c5daa

EspDevices: modified to show the process progress for flash reading and writing operations.

eric6/MicroPython/EspDevices.py file | annotate | diff | comparison | revisions
--- a/eric6/MicroPython/EspDevices.py	Sun Dec 08 13:07:46 2019 +0100
+++ b/eric6/MicroPython/EspDevices.py	Sun Dec 08 13:08:48 2019 +0100
@@ -175,7 +175,8 @@
                 "erase_flash",
             ]
             dlg = E5ProcessDialog(self.tr("'esptool erase_flash' Output"),
-                                  self.tr("Erase Flash"))
+                                  self.tr("Erase Flash"),
+                                  showProgress=True)
             res = dlg.startProcess(sys.executable, flashArgs)
             if res:
                 dlg.exec_()
@@ -208,7 +209,8 @@
                 firmware,
             ]
             dlg = E5ProcessDialog(self.tr("'esptool write_flash' Output"),
-                                  self.tr("Flash MicroPython Firmware"))
+                                  self.tr("Flash MicroPython Firmware"),
+                                  showProgress=True)
             res = dlg.startProcess(sys.executable, flashArgs)
             if res:
                 dlg.exec_()
@@ -232,7 +234,8 @@
                 firmware,
             ]
             dlg = E5ProcessDialog(self.tr("'esptool write_flash' Output"),
-                                  self.tr("Flash Additional Firmware"))
+                                  self.tr("Flash Additional Firmware"),
+                                  showProgress=True)
             res = dlg.startProcess(sys.executable, flashArgs)
             if res:
                 dlg.exec_()
@@ -258,7 +261,8 @@
                 firmware,
             ]
             dlg = E5ProcessDialog(self.tr("'esptool read_flash' Output"),
-                                  self.tr("Backup Firmware"))
+                                  self.tr("Backup Firmware"),
+                                  showProgress=True)
             res = dlg.startProcess(sys.executable, flashArgs)
             if res:
                 dlg.exec_()
@@ -291,7 +295,8 @@
                 firmware,
             ])
             dlg = E5ProcessDialog(self.tr("'esptool write_flash' Output"),
-                                  self.tr("Restore Firmware"))
+                                  self.tr("Restore Firmware"),
+                                  showProgress=True)
             res = dlg.startProcess(sys.executable, flashArgs)
             if res:
                 dlg.exec_()

eric ide

mercurial