src/eric7/MicroPython/GenericMicroPythonDevices.py

branch
eric7
changeset 9496
05017f795c24
parent 9473
3f23dbf37dbe
child 9624
b47dfa7a137d
equal deleted inserted replaced
9495:28ab5f487f71 9496:05017f795c24
198 " In place editing will not be available." 198 " In place editing will not be available."
199 ).format(self.__deviceVolumeName), 199 ).format(self.__deviceVolumeName),
200 ) 200 )
201 201
202 return super().getWorkspace() 202 return super().getWorkspace()
203
204
205 def createDevice(microPythonWidget, deviceType, vid, pid):
206 """
207 Function to instantiate a MicroPython device object.
208
209 @param microPythonWidget reference to the main MicroPython widget
210 @type MicroPythonWidget
211 @param deviceType device type assigned to this device interface
212 @type str
213 @param vid vendor ID
214 @type int
215 @param pid product ID
216 @type int
217 @return reference to the instantiated device object
218 @rtype GenericMicroPythonDevice
219 """
220 return GenericMicroPythonDevice(microPythonWidget, deviceType, vid, pid)

eric ide

mercurial