src/eric7/MicroPython/RP2040Devices.py

branch
eric7
changeset 9738
4ae976ee5339
parent 9653
e67609152c5e
child 9747
b7976868d5b0
--- a/src/eric7/MicroPython/RP2040Devices.py	Thu Feb 02 13:42:50 2023 +0100
+++ b/src/eric7/MicroPython/RP2040Devices.py	Thu Feb 02 18:01:00 2023 +0100
@@ -193,7 +193,7 @@
         ]
 
 
-def createDevice(microPythonWidget, deviceType, vid, pid):
+def createDevice(microPythonWidget, deviceType, vid, pid, boardName):
     """
     Function to instantiate a MicroPython device object.
 
@@ -205,6 +205,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 RP2040Device
     """

eric ide

mercurial