eric6/MicroPython/MicroPythonDevices.py

changeset 8096
5425a9072300
parent 8092
c0d72dbba8bb
child 8117
aaa5e0eacd4e
--- a/eric6/MicroPython/MicroPythonDevices.py	Thu Feb 11 11:59:32 2021 +0100
+++ b/eric6/MicroPython/MicroPythonDevices.py	Fri Feb 12 16:15:18 2021 +0100
@@ -170,12 +170,12 @@
     """
     Function to check the serial ports for supported MicroPython devices.
     
-    @return tuple containing a list of tuples with the board type, a
-        description and the serial port it is connected at for known device
-        types and a list of tuples with VID, PID and description for unknown
-        devices
-    @rtype tuple of (list of tuples of (str, str, str), list of tuples of
-        (int, int, str)
+    @return tuple containing a list of tuples with the board type, the port
+        description, a description, the serial port it is connected at, the
+        VID and PID for known device types and a list of tuples with VID, PID
+        and description for unknown devices
+    @rtype tuple of (list of tuples of (str, str, str, str, int, int),
+        list of tuples of (int, int, str)
     """
     from PyQt5.QtSerialPort import QSerialPortInfo
     
@@ -499,6 +499,15 @@
         """
         pass
     
+    def hasFlashMenuEntry(self):
+        """
+        Public method to check, if the device has its own flash menu entry.
+        
+        @return flag indicating a specific flash menu entry
+        @rtype bool
+        """
+        return False
+    
     def hasTimeCommands(self):
         """
         Public method to check, if the device supports time commands.

eric ide

mercurial