src/eric7/MicroPython/GenericMicroPythonDevices.py

branch
eric7
changeset 9751
606ac0e26533
parent 9738
4ae976ee5339
diff -r 4958dd72c937 -r 606ac0e26533 src/eric7/MicroPython/GenericMicroPythonDevices.py
--- a/src/eric7/MicroPython/GenericMicroPythonDevices.py	Thu Feb 09 09:55:57 2023 +0100
+++ b/src/eric7/MicroPython/GenericMicroPythonDevices.py	Sat Feb 11 16:59:50 2023 +0100
@@ -205,7 +205,7 @@
             return super().getWorkspace()
 
 
-def createDevice(microPythonWidget, deviceType, vid, pid, boardName):
+def createDevice(microPythonWidget, deviceType, vid, pid, boardName, serialNumber):
     """
     Function to instantiate a MicroPython device object.
 
@@ -219,6 +219,8 @@
     @type int
     @param boardName name of the board
     @type str
+    @param serialNumber serial number of the board
+    @type str
     @return reference to the instantiated device object
     @rtype GenericMicroPythonDevice
     """

eric ide

mercurial