464 @rtype str |
464 @rtype str |
465 """ |
465 """ |
466 return Preferences.getMicroPython("MicroPythonFirmwareUrl") |
466 return Preferences.getMicroPython("MicroPythonFirmwareUrl") |
467 |
467 |
468 |
468 |
469 def createDevice(microPythonWidget, deviceType, vid, pid): |
469 def createDevice(microPythonWidget, deviceType, vid, pid, boardName): |
470 """ |
470 """ |
471 Function to instantiate a MicroPython device object. |
471 Function to instantiate a MicroPython device object. |
472 |
472 |
473 @param microPythonWidget reference to the main MicroPython widget |
473 @param microPythonWidget reference to the main MicroPython widget |
474 @type MicroPythonWidget |
474 @type MicroPythonWidget |