--- 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 """