MicroPython: added '(0x8086, None)' to the list of ignores boards as it is used for some 8086 related chips. eric7

Sat, 06 Nov 2021 16:27:39 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 06 Nov 2021 16:27:39 +0100
branch
eric7
changeset 8762
49d93d0069af
parent 8761
f05818ae6431
child 8765
8d33448d71ef

MicroPython: added '(0x8086, None)' to the list of ignores boards as it is used for some 8086 related chips.

eric7/MicroPython/MicroPythonDevices.py file | annotate | diff | comparison | revisions
--- a/eric7/MicroPython/MicroPythonDevices.py	Wed Nov 03 20:02:41 2021 +0100
+++ b/eric7/MicroPython/MicroPythonDevices.py	Sat Nov 06 16:27:39 2021 +0100
@@ -181,6 +181,7 @@
 
 IgnoredBoards = (
     (0x8086, 0x9c3d),
+    (0x8086, None),
 )
 
 
@@ -264,7 +265,10 @@
                 supported = True
             if not supported:
                 if vid and pid:
-                    if (vid, pid) not in IgnoredBoards:
+                    if (
+                        (vid, pid) not in IgnoredBoards and
+                        (vid, None) not in IgnoredBoards
+                    ):
                         unknownDevices.append((vid, pid, port.description()))
                         logging.debug("Unknown device: (0x%04x:0x%04x %s)",
                                       vid, pid, port.description())

eric ide

mercurial