eric6/MicroPython/UF2FlashDialog.py

changeset 8170
fb77bff32621
parent 8167
cdc1b6692766
child 8218
7c09585bd960
--- a/eric6/MicroPython/UF2FlashDialog.py	Mon Mar 22 19:31:18 2021 +0100
+++ b/eric6/MicroPython/UF2FlashDialog.py	Tue Mar 23 18:39:35 2021 +0100
@@ -370,6 +370,7 @@
             " flash button.</li>"
             "</ol>"
         ),
+        "show_all": True,
         "firmware": "CircuitPython",
     },
     
@@ -402,6 +403,7 @@
             " flash button.</li>"
             "</ol>"
         ),
+        "show_all": False,
         "firmware": "CircuitPython",
     },
     
@@ -434,6 +436,7 @@
             " flash button.</li>"
             "</ol>"
         ),
+        "show_all": True,
         "firmware": "MicroPython / CircuitPython",
     },
 }
@@ -639,7 +642,11 @@
             "</p>"
         )
         for boardType in SupportedUF2Boards:
-            htmlText += "<hr/>" + SupportedUF2Boards[boardType]["instructions"]
+            if SupportedUF2Boards[boardType]["show_all"]:
+                htmlText += (
+                    "<hr/>" +
+                    SupportedUF2Boards[boardType]["instructions"]
+                )
         self.infoEdit.setHtml(htmlText)
     
     def __showSpecificInstructions(self, devices):

eric ide

mercurial