191 Preferences.getMicroPython("CircuitPythonLibrariesUrl"), |
191 Preferences.getMicroPython("CircuitPythonLibrariesUrl"), |
192 ), |
192 ), |
193 ] |
193 ] |
194 |
194 |
195 |
195 |
196 def createDevice(microPythonWidget, deviceType, vid, pid): |
196 def createDevice(microPythonWidget, deviceType, vid, pid, boardName): |
197 """ |
197 """ |
198 Function to instantiate a MicroPython device object. |
198 Function to instantiate a MicroPython device object. |
199 |
199 |
200 @param microPythonWidget reference to the main MicroPython widget |
200 @param microPythonWidget reference to the main MicroPython widget |
201 @type MicroPythonWidget |
201 @type MicroPythonWidget |