diff -r 5e05b2089daf -r 4ae976ee5339 src/eric7/MicroPython/EspDevices.py --- a/src/eric7/MicroPython/EspDevices.py Thu Feb 02 13:42:50 2023 +0100 +++ b/src/eric7/MicroPython/EspDevices.py Thu Feb 02 18:01:00 2023 +0100 @@ -466,7 +466,7 @@ return Preferences.getMicroPython("MicroPythonFirmwareUrl") -def createDevice(microPythonWidget, deviceType, vid, pid): +def createDevice(microPythonWidget, deviceType, vid, pid, boardName): """ Function to instantiate a MicroPython device object. @@ -478,6 +478,8 @@ @type int @param pid product ID @type int + @param boardName name of the board + @type str @return reference to the instantiated device object @rtype EspDevice """