Sat, 11 Feb 2023 19:53:53 +0100
Updated source documentation.
--- a/src/eric7/APIs/Python3/eric7.api Sat Feb 11 19:52:53 2023 +0100 +++ b/src/eric7/APIs/Python3/eric7.api Sat Feb 11 19:53:53 2023 +0100 @@ -2555,7 +2555,7 @@ eric7.MicroPython.CircuitPythonDevices.CircuitPythonDevice.setButtons?4() eric7.MicroPython.CircuitPythonDevices.CircuitPythonDevice.supportsLocalFileAccess?4() eric7.MicroPython.CircuitPythonDevices.CircuitPythonDevice?1(microPythonWidget, deviceType, boardName, parent=None) -eric7.MicroPython.CircuitPythonDevices.createDevice?4(microPythonWidget, deviceType, vid, pid, boardName) +eric7.MicroPython.CircuitPythonDevices.createDevice?4(microPythonWidget, deviceType, vid, pid, boardName, serialNumber) eric7.MicroPython.CircuitPythonUpdater.CircuitPythonUpdaterInterface.CircuitPythonUpdaterInterface.installCircup?4() eric7.MicroPython.CircuitPythonUpdater.CircuitPythonUpdaterInterface.CircuitPythonUpdaterInterface.populateMenu?4(menu) eric7.MicroPython.CircuitPythonUpdater.CircuitPythonUpdaterInterface.CircuitPythonUpdaterInterface?1(device, parent=None) @@ -2607,7 +2607,7 @@ eric7.MicroPython.EspDevices.EspDevice.runScript?4(script) eric7.MicroPython.EspDevices.EspDevice.setButtons?4() eric7.MicroPython.EspDevices.EspDevice?1(microPythonWidget, deviceType, parent=None) -eric7.MicroPython.EspDevices.createDevice?4(microPythonWidget, deviceType, vid, pid, boardName) +eric7.MicroPython.EspDevices.createDevice?4(microPythonWidget, deviceType, vid, pid, boardName, serialNumber) eric7.MicroPython.EspFirmwareSelectionDialog.EspFirmwareSelectionDialog.Chips?7 eric7.MicroPython.EspFirmwareSelectionDialog.EspFirmwareSelectionDialog.FlashAddresses?7 eric7.MicroPython.EspFirmwareSelectionDialog.EspFirmwareSelectionDialog.FlashModes?7 @@ -2626,7 +2626,7 @@ eric7.MicroPython.GenericMicroPythonDevices.GenericMicroPythonDevice.setButtons?4() eric7.MicroPython.GenericMicroPythonDevices.GenericMicroPythonDevice.supportsLocalFileAccess?4() eric7.MicroPython.GenericMicroPythonDevices.GenericMicroPythonDevice?1(microPythonWidget, deviceType, vid, pid, parent=None) -eric7.MicroPython.GenericMicroPythonDevices.createDevice?4(microPythonWidget, deviceType, vid, pid, boardName) +eric7.MicroPython.GenericMicroPythonDevices.createDevice?4(microPythonWidget, deviceType, vid, pid, boardName, serialNumber) eric7.MicroPython.IgnoredDevicesDialog.IgnoredDevicesDialog.getDevices?4() eric7.MicroPython.IgnoredDevicesDialog.IgnoredDevicesDialog?1(deviceList, parent=None) eric7.MicroPython.MicroPythonCommandsInterface.MicroPythonCommandsInterface.cd?4(dirname) @@ -2639,7 +2639,7 @@ eric7.MicroPython.MicroPythonCommandsInterface.MicroPythonCommandsInterface.fileSystemInfo?4() eric7.MicroPython.MicroPythonCommandsInterface.MicroPythonCommandsInterface.get?4(deviceFileName, hostFileName=None) eric7.MicroPython.MicroPythonCommandsInterface.MicroPythonCommandsInterface.getBoardInformation?4() -eric7.MicroPython.MicroPythonCommandsInterface.MicroPythonCommandsInterface.getImplementation?4() +eric7.MicroPython.MicroPythonCommandsInterface.MicroPythonCommandsInterface.getDeviceData?4() eric7.MicroPython.MicroPythonCommandsInterface.MicroPythonCommandsInterface.getModules?4() eric7.MicroPython.MicroPythonCommandsInterface.MicroPythonCommandsInterface.getTime?4() eric7.MicroPython.MicroPythonCommandsInterface.MicroPythonCommandsInterface.handlePreferencesChanged?4() @@ -2654,8 +2654,7 @@ eric7.MicroPython.MicroPythonCommandsInterface.MicroPythonCommandsInterface.rm?4(filename) eric7.MicroPython.MicroPythonCommandsInterface.MicroPythonCommandsInterface.rmdir?4(dirname) eric7.MicroPython.MicroPythonCommandsInterface.MicroPythonCommandsInterface.rmrf?4(name, recursive=False, force=False) -eric7.MicroPython.MicroPythonCommandsInterface.MicroPythonCommandsInterface.syncTime?4(deviceType) -eric7.MicroPython.MicroPythonCommandsInterface.MicroPythonCommandsInterface.version?4() +eric7.MicroPython.MicroPythonCommandsInterface.MicroPythonCommandsInterface.syncTime?4(deviceType, hasCPy=False) eric7.MicroPython.MicroPythonCommandsInterface.MicroPythonCommandsInterface.write?4(data) eric7.MicroPython.MicroPythonCommandsInterface.MicroPythonCommandsInterface?1(parent=None) eric7.MicroPython.MicroPythonDevices.FirmwareGithubUrls?7 @@ -2665,9 +2664,11 @@ eric7.MicroPython.MicroPythonDevices.MicroPythonDevice.canStartFileManager?4() eric7.MicroPython.MicroPythonDevices.MicroPythonDevice.canStartPlotter?4() eric7.MicroPython.MicroPythonDevices.MicroPythonDevice.canStartRepl?4() +eric7.MicroPython.MicroPythonDevices.MicroPythonDevice.checkDeviceData?4() eric7.MicroPython.MicroPythonDevices.MicroPythonDevice.deviceName?4() eric7.MicroPython.MicroPythonDevices.MicroPythonDevice.downloadFirmware?4() eric7.MicroPython.MicroPythonDevices.MicroPythonDevice.forceInterrupt?4() +eric7.MicroPython.MicroPythonDevices.MicroPythonDevice.getDeviceData?4() eric7.MicroPython.MicroPythonDevices.MicroPythonDevice.getDeviceType?4() eric7.MicroPython.MicroPythonDevices.MicroPythonDevice.getDocumentationUrl?4() eric7.MicroPython.MicroPythonDevices.MicroPythonDevice.getDownloadMenuEntries?4() @@ -2682,13 +2683,14 @@ eric7.MicroPython.MicroPythonDevices.MicroPythonDevice.selectDeviceDirectory?4(deviceDirectories) eric7.MicroPython.MicroPythonDevices.MicroPythonDevice.sendCommands?4(commandsList) eric7.MicroPython.MicroPythonDevices.MicroPythonDevice.setButtons?4() +eric7.MicroPython.MicroPythonDevices.MicroPythonDevice.setConnected?4(connected) eric7.MicroPython.MicroPythonDevices.MicroPythonDevice.setFileManager?4(on) eric7.MicroPython.MicroPythonDevices.MicroPythonDevice.setPlotter?4(on) eric7.MicroPython.MicroPythonDevices.MicroPythonDevice.setRepl?4(on) eric7.MicroPython.MicroPythonDevices.MicroPythonDevice.supportsLocalFileAccess?4() eric7.MicroPython.MicroPythonDevices.MicroPythonDevice?1(microPythonWidget, deviceType, parent=None) eric7.MicroPython.MicroPythonDevices.SupportedBoards?7 -eric7.MicroPython.MicroPythonDevices.getDevice?4(deviceType, microPythonWidget, vid, pid, boardName="") +eric7.MicroPython.MicroPythonDevices.getDevice?4(deviceType, microPythonWidget, vid, pid, boardName="", serialNumber="") eric7.MicroPython.MicroPythonDevices.getDeviceIcon?4(boardName, iconFormat=True) eric7.MicroPython.MicroPythonDevices.getFoundDevices?4() eric7.MicroPython.MicroPythonDevices.getSupportedDevices?4() @@ -2761,6 +2763,7 @@ eric7.MicroPython.MicroPythonWidget.MicroPythonWidget.DeviceBoardRole?7 eric7.MicroPython.MicroPythonWidget.MicroPythonWidget.DevicePidRole?7 eric7.MicroPython.MicroPythonWidget.MicroPythonWidget.DevicePortRole?7 +eric7.MicroPython.MicroPythonWidget.MicroPythonWidget.DeviceSerNoRole?7 eric7.MicroPython.MicroPythonWidget.MicroPythonWidget.DeviceTypeRole?7 eric7.MicroPython.MicroPythonWidget.MicroPythonWidget.DeviceVidRole?7 eric7.MicroPython.MicroPythonWidget.MicroPythonWidget.ManualMarker?7 @@ -2800,8 +2803,8 @@ eric7.MicroPython.MicrobitDevices.MicrobitDevice.hasTimeCommands?4() eric7.MicroPython.MicrobitDevices.MicrobitDevice.runScript?4(script) eric7.MicroPython.MicrobitDevices.MicrobitDevice.setButtons?4() -eric7.MicroPython.MicrobitDevices.MicrobitDevice?1(microPythonWidget, deviceType, parent=None) -eric7.MicroPython.MicrobitDevices.createDevice?4(microPythonWidget, deviceType, vid, pid, boardName) +eric7.MicroPython.MicrobitDevices.MicrobitDevice?1(microPythonWidget, deviceType, serialNumber, parent=None) +eric7.MicroPython.MicrobitDevices.createDevice?4(microPythonWidget, deviceType, vid, pid, boardName, serialNumber) eric7.MicroPython.PyBoardDevices.PyBoardDevice.DeviceVolumeName?7 eric7.MicroPython.PyBoardDevices.PyBoardDevice.FlashInstructionsURL?7 eric7.MicroPython.PyBoardDevices.PyBoardDevice.addDeviceMenuEntries?4(menu) @@ -2819,7 +2822,7 @@ eric7.MicroPython.PyBoardDevices.PyBoardDevice.setButtons?4() eric7.MicroPython.PyBoardDevices.PyBoardDevice.supportsLocalFileAccess?4() eric7.MicroPython.PyBoardDevices.PyBoardDevice?1(microPythonWidget, deviceType, parent=None) -eric7.MicroPython.PyBoardDevices.createDevice?4(microPythonWidget, deviceType, vid, pid, boardName) +eric7.MicroPython.PyBoardDevices.createDevice?4(microPythonWidget, deviceType, vid, pid, boardName, serialNumber) eric7.MicroPython.RP2040Devices.RP2040Device.addDeviceMenuEntries?4(menu) eric7.MicroPython.RP2040Devices.RP2040Device.canRunScript?4() eric7.MicroPython.RP2040Devices.RP2040Device.canStartFileManager?4() @@ -2833,7 +2836,7 @@ eric7.MicroPython.RP2040Devices.RP2040Device.runScript?4(script) eric7.MicroPython.RP2040Devices.RP2040Device.setButtons?4() eric7.MicroPython.RP2040Devices.RP2040Device?1(microPythonWidget, deviceType, parent=None) -eric7.MicroPython.RP2040Devices.createDevice?4(microPythonWidget, deviceType, vid, pid, boardName) +eric7.MicroPython.RP2040Devices.createDevice?4(microPythonWidget, deviceType, vid, pid, boardName, serialNumber) eric7.MicroPython.ShowModulesDialog.ShowModulesDialog.getSelection?4() eric7.MicroPython.ShowModulesDialog.ShowModulesDialog.on_modulesList_itemChanged?4(item) eric7.MicroPython.ShowModulesDialog.ShowModulesDialog?1(modulesList, selectionMode=False, info="", parent=None)
--- a/src/eric7/Documentation/Help/source.qhp Sat Feb 11 19:52:53 2023 +0100 +++ b/src/eric7/Documentation/Help/source.qhp Sat Feb 11 19:53:53 2023 +0100 @@ -2695,6 +2695,7 @@ <keyword name="CircuitPythonDevice (Constructor)" id="CircuitPythonDevice (Constructor)" ref="eric7.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.__init__" /> <keyword name="CircuitPythonDevice.__aboutToShowLibraryMenu" id="CircuitPythonDevice.__aboutToShowLibraryMenu" ref="eric7.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.__aboutToShowLibraryMenu" /> <keyword name="CircuitPythonDevice.__cpyVersionResponse" id="CircuitPythonDevice.__cpyVersionResponse" ref="eric7.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.__cpyVersionResponse" /> + <keyword name="CircuitPythonDevice.__createCPyMenu" id="CircuitPythonDevice.__createCPyMenu" ref="eric7.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.__createCPyMenu" /> <keyword name="CircuitPythonDevice.__deviceVolumeMounted" id="CircuitPythonDevice.__deviceVolumeMounted" ref="eric7.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.__deviceVolumeMounted" /> <keyword name="CircuitPythonDevice.__findDeviceDirectories" id="CircuitPythonDevice.__findDeviceDirectories" ref="eric7.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.__findDeviceDirectories" /> <keyword name="CircuitPythonDevice.__findWorkspace" id="CircuitPythonDevice.__findWorkspace" ref="eric7.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.__findWorkspace" /> @@ -6046,6 +6047,7 @@ <keyword name="EspDevice" id="EspDevice" ref="eric7.MicroPython.EspDevices.html#EspDevice" /> <keyword name="EspDevice (Constructor)" id="EspDevice (Constructor)" ref="eric7.MicroPython.EspDevices.html#EspDevice.__init__" /> <keyword name="EspDevice.__backupFlash" id="EspDevice.__backupFlash" ref="eric7.MicroPython.EspDevices.html#EspDevice.__backupFlash" /> + <keyword name="EspDevice.__createEsp32Submenu" id="EspDevice.__createEsp32Submenu" ref="eric7.MicroPython.EspDevices.html#EspDevice.__createEsp32Submenu" /> <keyword name="EspDevice.__eraseFlash" id="EspDevice.__eraseFlash" ref="eric7.MicroPython.EspDevices.html#EspDevice.__eraseFlash" /> <keyword name="EspDevice.__firmwareVersionResponse" id="EspDevice.__firmwareVersionResponse" ref="eric7.MicroPython.EspDevices.html#EspDevice.__firmwareVersionResponse" /> <keyword name="EspDevice.__flashAddons" id="EspDevice.__flashAddons" ref="eric7.MicroPython.EspDevices.html#EspDevice.__flashAddons" /> @@ -10505,7 +10507,7 @@ <keyword name="MicroPythonCommandsInterface.fileSystemInfo" id="MicroPythonCommandsInterface.fileSystemInfo" ref="eric7.MicroPython.MicroPythonCommandsInterface.html#MicroPythonCommandsInterface.fileSystemInfo" /> <keyword name="MicroPythonCommandsInterface.get" id="MicroPythonCommandsInterface.get" ref="eric7.MicroPython.MicroPythonCommandsInterface.html#MicroPythonCommandsInterface.get" /> <keyword name="MicroPythonCommandsInterface.getBoardInformation" id="MicroPythonCommandsInterface.getBoardInformation" ref="eric7.MicroPython.MicroPythonCommandsInterface.html#MicroPythonCommandsInterface.getBoardInformation" /> - <keyword name="MicroPythonCommandsInterface.getImplementation" id="MicroPythonCommandsInterface.getImplementation" ref="eric7.MicroPython.MicroPythonCommandsInterface.html#MicroPythonCommandsInterface.getImplementation" /> + <keyword name="MicroPythonCommandsInterface.getDeviceData" id="MicroPythonCommandsInterface.getDeviceData" ref="eric7.MicroPython.MicroPythonCommandsInterface.html#MicroPythonCommandsInterface.getDeviceData" /> <keyword name="MicroPythonCommandsInterface.getModules" id="MicroPythonCommandsInterface.getModules" ref="eric7.MicroPython.MicroPythonCommandsInterface.html#MicroPythonCommandsInterface.getModules" /> <keyword name="MicroPythonCommandsInterface.getTime" id="MicroPythonCommandsInterface.getTime" ref="eric7.MicroPython.MicroPythonCommandsInterface.html#MicroPythonCommandsInterface.getTime" /> <keyword name="MicroPythonCommandsInterface.handlePreferencesChanged" id="MicroPythonCommandsInterface.handlePreferencesChanged" ref="eric7.MicroPython.MicroPythonCommandsInterface.html#MicroPythonCommandsInterface.handlePreferencesChanged" /> @@ -10521,7 +10523,6 @@ <keyword name="MicroPythonCommandsInterface.rmdir" id="MicroPythonCommandsInterface.rmdir" ref="eric7.MicroPython.MicroPythonCommandsInterface.html#MicroPythonCommandsInterface.rmdir" /> <keyword name="MicroPythonCommandsInterface.rmrf" id="MicroPythonCommandsInterface.rmrf" ref="eric7.MicroPython.MicroPythonCommandsInterface.html#MicroPythonCommandsInterface.rmrf" /> <keyword name="MicroPythonCommandsInterface.syncTime" id="MicroPythonCommandsInterface.syncTime" ref="eric7.MicroPython.MicroPythonCommandsInterface.html#MicroPythonCommandsInterface.syncTime" /> - <keyword name="MicroPythonCommandsInterface.version" id="MicroPythonCommandsInterface.version" ref="eric7.MicroPython.MicroPythonCommandsInterface.html#MicroPythonCommandsInterface.version" /> <keyword name="MicroPythonCommandsInterface.write" id="MicroPythonCommandsInterface.write" ref="eric7.MicroPython.MicroPythonCommandsInterface.html#MicroPythonCommandsInterface.write" /> <keyword name="MicroPythonDevice" id="MicroPythonDevice" ref="eric7.MicroPython.MicroPythonDevices.html#MicroPythonDevice" /> <keyword name="MicroPythonDevice (Constructor)" id="MicroPythonDevice (Constructor)" ref="eric7.MicroPython.MicroPythonDevices.html#MicroPythonDevice.__init__" /> @@ -10530,9 +10531,11 @@ <keyword name="MicroPythonDevice.canStartFileManager" id="MicroPythonDevice.canStartFileManager" ref="eric7.MicroPython.MicroPythonDevices.html#MicroPythonDevice.canStartFileManager" /> <keyword name="MicroPythonDevice.canStartPlotter" id="MicroPythonDevice.canStartPlotter" ref="eric7.MicroPython.MicroPythonDevices.html#MicroPythonDevice.canStartPlotter" /> <keyword name="MicroPythonDevice.canStartRepl" id="MicroPythonDevice.canStartRepl" ref="eric7.MicroPython.MicroPythonDevices.html#MicroPythonDevice.canStartRepl" /> + <keyword name="MicroPythonDevice.checkDeviceData" id="MicroPythonDevice.checkDeviceData" ref="eric7.MicroPython.MicroPythonDevices.html#MicroPythonDevice.checkDeviceData" /> <keyword name="MicroPythonDevice.deviceName" id="MicroPythonDevice.deviceName" ref="eric7.MicroPython.MicroPythonDevices.html#MicroPythonDevice.deviceName" /> <keyword name="MicroPythonDevice.downloadFirmware" id="MicroPythonDevice.downloadFirmware" ref="eric7.MicroPython.MicroPythonDevices.html#MicroPythonDevice.downloadFirmware" /> <keyword name="MicroPythonDevice.forceInterrupt" id="MicroPythonDevice.forceInterrupt" ref="eric7.MicroPython.MicroPythonDevices.html#MicroPythonDevice.forceInterrupt" /> + <keyword name="MicroPythonDevice.getDeviceData" id="MicroPythonDevice.getDeviceData" ref="eric7.MicroPython.MicroPythonDevices.html#MicroPythonDevice.getDeviceData" /> <keyword name="MicroPythonDevice.getDeviceType" id="MicroPythonDevice.getDeviceType" ref="eric7.MicroPython.MicroPythonDevices.html#MicroPythonDevice.getDeviceType" /> <keyword name="MicroPythonDevice.getDocumentationUrl" id="MicroPythonDevice.getDocumentationUrl" ref="eric7.MicroPython.MicroPythonDevices.html#MicroPythonDevice.getDocumentationUrl" /> <keyword name="MicroPythonDevice.getDownloadMenuEntries" id="MicroPythonDevice.getDownloadMenuEntries" ref="eric7.MicroPython.MicroPythonDevices.html#MicroPythonDevice.getDownloadMenuEntries" /> @@ -10547,6 +10550,7 @@ <keyword name="MicroPythonDevice.selectDeviceDirectory" id="MicroPythonDevice.selectDeviceDirectory" ref="eric7.MicroPython.MicroPythonDevices.html#MicroPythonDevice.selectDeviceDirectory" /> <keyword name="MicroPythonDevice.sendCommands" id="MicroPythonDevice.sendCommands" ref="eric7.MicroPython.MicroPythonDevices.html#MicroPythonDevice.sendCommands" /> <keyword name="MicroPythonDevice.setButtons" id="MicroPythonDevice.setButtons" ref="eric7.MicroPython.MicroPythonDevices.html#MicroPythonDevice.setButtons" /> + <keyword name="MicroPythonDevice.setConnected" id="MicroPythonDevice.setConnected" ref="eric7.MicroPython.MicroPythonDevices.html#MicroPythonDevice.setConnected" /> <keyword name="MicroPythonDevice.setFileManager" id="MicroPythonDevice.setFileManager" ref="eric7.MicroPython.MicroPythonDevices.html#MicroPythonDevice.setFileManager" /> <keyword name="MicroPythonDevice.setPlotter" id="MicroPythonDevice.setPlotter" ref="eric7.MicroPython.MicroPythonDevices.html#MicroPythonDevice.setPlotter" /> <keyword name="MicroPythonDevice.setRepl" id="MicroPythonDevice.setRepl" ref="eric7.MicroPython.MicroPythonDevices.html#MicroPythonDevice.setRepl" /> @@ -10700,8 +10704,12 @@ <keyword name="MicroPythonWidget.setActionButtons" id="MicroPythonWidget.setActionButtons" ref="eric7.MicroPython.MicroPythonWidget.html#MicroPythonWidget.setActionButtons" /> <keyword name="MicrobitDevice" id="MicrobitDevice" ref="eric7.MicroPython.MicrobitDevices.html#MicrobitDevice" /> <keyword name="MicrobitDevice (Constructor)" id="MicrobitDevice (Constructor)" ref="eric7.MicroPython.MicrobitDevices.html#MicrobitDevice.__init__" /> + <keyword name="MicrobitDevice.__createMicrobitMenu" id="MicrobitDevice.__createMicrobitMenu" ref="eric7.MicroPython.MicrobitDevices.html#MicrobitDevice.__createMicrobitMenu" /> <keyword name="MicrobitDevice.__firmwareVersionResponse" id="MicrobitDevice.__firmwareVersionResponse" ref="eric7.MicroPython.MicrobitDevices.html#MicrobitDevice.__firmwareVersionResponse" /> <keyword name="MicrobitDevice.__flashMicroPython" id="MicrobitDevice.__flashMicroPython" ref="eric7.MicroPython.MicrobitDevices.html#MicrobitDevice.__flashMicroPython" /> + <keyword name="MicrobitDevice.__isCalliope" id="MicrobitDevice.__isCalliope" ref="eric7.MicroPython.MicrobitDevices.html#MicrobitDevice.__isCalliope" /> + <keyword name="MicrobitDevice.__isMicroBitV1" id="MicrobitDevice.__isMicroBitV1" ref="eric7.MicroPython.MicrobitDevices.html#MicrobitDevice.__isMicroBitV1" /> + <keyword name="MicrobitDevice.__isMicroBitV2" id="MicrobitDevice.__isMicroBitV2" ref="eric7.MicroPython.MicrobitDevices.html#MicrobitDevice.__isMicroBitV2" /> <keyword name="MicrobitDevice.__resetDevice" id="MicrobitDevice.__resetDevice" ref="eric7.MicroPython.MicrobitDevices.html#MicrobitDevice.__resetDevice" /> <keyword name="MicrobitDevice.__saveMain" id="MicrobitDevice.__saveMain" ref="eric7.MicroPython.MicrobitDevices.html#MicrobitDevice.__saveMain" /> <keyword name="MicrobitDevice.__saveScriptToDevice" id="MicrobitDevice.__saveScriptToDevice" ref="eric7.MicroPython.MicrobitDevices.html#MicrobitDevice.__saveScriptToDevice" /> @@ -12950,6 +12958,7 @@ <keyword name="PyBoardDevice" id="PyBoardDevice" ref="eric7.MicroPython.PyBoardDevices.html#PyBoardDevice" /> <keyword name="PyBoardDevice (Constructor)" id="PyBoardDevice (Constructor)" ref="eric7.MicroPython.PyBoardDevices.html#PyBoardDevice.__init__" /> <keyword name="PyBoardDevice.__activateBootloader" id="PyBoardDevice.__activateBootloader" ref="eric7.MicroPython.PyBoardDevices.html#PyBoardDevice.__activateBootloader" /> + <keyword name="PyBoardDevice.__createPyboardMenu" id="PyBoardDevice.__createPyboardMenu" ref="eric7.MicroPython.PyBoardDevices.html#PyBoardDevice.__createPyboardMenu" /> <keyword name="PyBoardDevice.__deviceVolumeMounted" id="PyBoardDevice.__deviceVolumeMounted" ref="eric7.MicroPython.PyBoardDevices.html#PyBoardDevice.__deviceVolumeMounted" /> <keyword name="PyBoardDevice.__dfuUtilAvailable" id="PyBoardDevice.__dfuUtilAvailable" ref="eric7.MicroPython.PyBoardDevices.html#PyBoardDevice.__dfuUtilAvailable" /> <keyword name="PyBoardDevice.__findWorkspace" id="PyBoardDevice.__findWorkspace" ref="eric7.MicroPython.PyBoardDevices.html#PyBoardDevice.__findWorkspace" /> @@ -13611,6 +13620,7 @@ <keyword name="RP2040Device" id="RP2040Device" ref="eric7.MicroPython.RP2040Devices.html#RP2040Device" /> <keyword name="RP2040Device (Constructor)" id="RP2040Device (Constructor)" ref="eric7.MicroPython.RP2040Devices.html#RP2040Device.__init__" /> <keyword name="RP2040Device.__activateBootloader" id="RP2040Device.__activateBootloader" ref="eric7.MicroPython.RP2040Devices.html#RP2040Device.__activateBootloader" /> + <keyword name="RP2040Device.__createRP2040Menu" id="RP2040Device.__createRP2040Menu" ref="eric7.MicroPython.RP2040Devices.html#RP2040Device.__createRP2040Menu" /> <keyword name="RP2040Device.__firmwareVersionResponse" id="RP2040Device.__firmwareVersionResponse" ref="eric7.MicroPython.RP2040Devices.html#RP2040Device.__firmwareVersionResponse" /> <keyword name="RP2040Device.__flashPython" id="RP2040Device.__flashPython" ref="eric7.MicroPython.RP2040Devices.html#RP2040Device.__flashPython" /> <keyword name="RP2040Device.__showFirmwareVersions" id="RP2040Device.__showFirmwareVersions" ref="eric7.MicroPython.RP2040Devices.html#RP2040Device.__showFirmwareVersions" />
--- a/src/eric7/Documentation/Source/eric7.MicroPython.CircuitPythonDevices.html Sat Feb 11 19:52:53 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.CircuitPythonDevices.html Sat Feb 11 19:53:53 2023 +0100 @@ -71,6 +71,10 @@ <td>Private method handling the response of the latest version request.</td> </tr> <tr> +<td><a href="#CircuitPythonDevice.__createCPyMenu">__createCPyMenu</a></td> +<td>Private method to create the CircuitPython submenu.</td> +</tr> +<tr> <td><a href="#CircuitPythonDevice.__deviceVolumeMounted">__deviceVolumeMounted</a></td> <td>Private method to check, if the device volume is mounted.</td> </tr> @@ -208,6 +212,13 @@ reference to the reply object </dd> </dl> +<a NAME="CircuitPythonDevice.__createCPyMenu" ID="CircuitPythonDevice.__createCPyMenu"></a> +<h4>CircuitPythonDevice.__createCPyMenu</h4> +<b>__createCPyMenu</b>(<i></i>) + +<p> + Private method to create the CircuitPython submenu. +</p> <a NAME="CircuitPythonDevice.__deviceVolumeMounted" ID="CircuitPythonDevice.__deviceVolumeMounted"></a> <h4>CircuitPythonDevice.__deviceVolumeMounted</h4> <b>__deviceVolumeMounted</b>(<i></i>) @@ -580,7 +591,7 @@ <hr /> <a NAME="createDevice" ID="createDevice"></a> <h2>createDevice</h2> -<b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid, boardName</i>) +<b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid, boardName, serialNumber</i>) <p> Function to instantiate a MicroPython device object. @@ -607,6 +618,10 @@ <dd> name of the board </dd> +<dt><i>serialNumber</i> (str)</dt> +<dd> +serial number of the board +</dd> </dl> <dl> <dt>Return:</dt>
--- a/src/eric7/Documentation/Source/eric7.MicroPython.EspDevices.html Sat Feb 11 19:52:53 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.EspDevices.html Sat Feb 11 19:53:53 2023 +0100 @@ -68,6 +68,10 @@ <td>Private slot to backup the currently flashed firmware.</td> </tr> <tr> +<td><a href="#EspDevice.__createEsp32Submenu">__createEsp32Submenu</a></td> +<td>Private method to create the ESP32 submenu.</td> +</tr> +<tr> <td><a href="#EspDevice.__eraseFlash">__eraseFlash</a></td> <td>Private slot to erase the device flash memory.</td> </tr> @@ -195,6 +199,13 @@ <p> Private slot to backup the currently flashed firmware. </p> +<a NAME="EspDevice.__createEsp32Submenu" ID="EspDevice.__createEsp32Submenu"></a> +<h4>EspDevice.__createEsp32Submenu</h4> +<b>__createEsp32Submenu</b>(<i></i>) + +<p> + Private method to create the ESP32 submenu. +</p> <a NAME="EspDevice.__eraseFlash" ID="EspDevice.__eraseFlash"></a> <h4>EspDevice.__eraseFlash</h4> <b>__eraseFlash</b>(<i></i>) @@ -204,7 +215,7 @@ </p> <a NAME="EspDevice.__firmwareVersionResponse" ID="EspDevice.__firmwareVersionResponse"></a> <h4>EspDevice.__firmwareVersionResponse</h4> -<b>__firmwareVersionResponse</b>(<i>reply, implementation</i>) +<b>__firmwareVersionResponse</b>(<i>reply</i>) <p> Private method handling the response of the latest version request. @@ -215,11 +226,6 @@ <dd> reference to the reply object </dd> -<dt><i>implementation</i> (dict)</dt> -<dd> -dictionary containing the implementation data of the - connected device -</dd> </dl> <a NAME="EspDevice.__flashAddons" ID="EspDevice.__flashAddons"></a> <h4>EspDevice.__flashAddons</h4> @@ -501,7 +507,7 @@ <hr /> <a NAME="createDevice" ID="createDevice"></a> <h2>createDevice</h2> -<b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid, boardName</i>) +<b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid, boardName, serialNumber</i>) <p> Function to instantiate a MicroPython device object. @@ -528,6 +534,10 @@ <dd> name of the board </dd> +<dt><i>serialNumber</i> (str)</dt> +<dd> +serial number of the board +</dd> </dl> <dl> <dt>Return:</dt>
--- a/src/eric7/Documentation/Source/eric7.MicroPython.GenericMicroPythonDevices.html Sat Feb 11 19:52:53 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.GenericMicroPythonDevices.html Sat Feb 11 19:53:53 2023 +0100 @@ -359,7 +359,7 @@ <hr /> <a NAME="createDevice" ID="createDevice"></a> <h2>createDevice</h2> -<b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid, boardName</i>) +<b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid, boardName, serialNumber</i>) <p> Function to instantiate a MicroPython device object. @@ -386,6 +386,10 @@ <dd> name of the board </dd> +<dt><i>serialNumber</i> (str)</dt> +<dd> +serial number of the board +</dd> </dl> <dl> <dt>Return:</dt>
--- a/src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonCommandsInterface.html Sat Feb 11 19:52:53 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonCommandsInterface.html Sat Feb 11 19:53:53 2023 +0100 @@ -146,8 +146,8 @@ <td>Public method to get some information data of the connected board.</td> </tr> <tr> -<td><a href="#MicroPythonCommandsInterface.getImplementation">getImplementation</a></td> -<td>Public method to get some implementation information of the connected device.</td> +<td><a href="#MicroPythonCommandsInterface.getDeviceData">getDeviceData</a></td> +<td>Public method to get some essential data for the connected board.</td> </tr> <tr> <td><a href="#MicroPythonCommandsInterface.getModules">getModules</a></td> @@ -210,10 +210,6 @@ <td>Public method to set the time of the connected device to the local computer's time.</td> </tr> <tr> -<td><a href="#MicroPythonCommandsInterface.version">version</a></td> -<td>Public method to get the MicroPython version information of the connected device.</td> -</tr> -<tr> <td><a href="#MicroPythonCommandsInterface.write">write</a></td> <td>Public method to write data to the connected device.</td> </tr> @@ -486,18 +482,17 @@ raised to indicate an issue with the device </dd> </dl> -<a NAME="MicroPythonCommandsInterface.getImplementation" ID="MicroPythonCommandsInterface.getImplementation"></a> -<h4>MicroPythonCommandsInterface.getImplementation</h4> -<b>getImplementation</b>(<i></i>) +<a NAME="MicroPythonCommandsInterface.getDeviceData" ID="MicroPythonCommandsInterface.getDeviceData"></a> +<h4>MicroPythonCommandsInterface.getDeviceData</h4> +<b>getDeviceData</b>(<i></i>) <p> - Public method to get some implementation information of the connected - device. + Public method to get some essential data for the connected board. </p> <dl> <dt>Return:</dt> <dd> -dictionary containing the implementation information +dictionary containing the determined data </dd> </dl> <dl> @@ -865,7 +860,7 @@ </dl> <a NAME="MicroPythonCommandsInterface.syncTime" ID="MicroPythonCommandsInterface.syncTime"></a> <h4>MicroPythonCommandsInterface.syncTime</h4> -<b>syncTime</b>(<i>deviceType</i>) +<b>syncTime</b>(<i>deviceType, hasCPy=False</i>) <p> Public method to set the time of the connected device to the local @@ -877,32 +872,10 @@ <dd> type of board to sync time to </dd> -</dl> -<dl> - -<dt>Raises <b>OSError</b>:</dt> +<dt><i>hasCPy</i> (bool)</dt> <dd> -raised to indicate an issue with the device -</dd> -</dl> -<a NAME="MicroPythonCommandsInterface.version" ID="MicroPythonCommandsInterface.version"></a> -<h4>MicroPythonCommandsInterface.version</h4> -<b>version</b>(<i></i>) - -<p> - Public method to get the MicroPython version information of the - connected device. -</p> -<dl> -<dt>Return:</dt> -<dd> -dictionary containing the version information -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -dict +flag indicating that the device has CircuitPython loadede + (defaults to False) </dd> </dl> <dl>
--- a/src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonDevices.html Sat Feb 11 19:52:53 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonDevices.html Sat Feb 11 19:53:53 2023 +0100 @@ -96,6 +96,10 @@ <td>Public method to determine, if a REPL can be started.</td> </tr> <tr> +<td><a href="#MicroPythonDevice.checkDeviceData">checkDeviceData</a></td> +<td>Public method to check the validity of the device data determined during connecting the device.</td> +</tr> +<tr> <td><a href="#MicroPythonDevice.deviceName">deviceName</a></td> <td>Public method to get the name of the device.</td> </tr> @@ -108,6 +112,10 @@ <td>Public method to determine the need for an interrupt when opening the serial connection.</td> </tr> <tr> +<td><a href="#MicroPythonDevice.getDeviceData">getDeviceData</a></td> +<td>Public method to get a copy of the determined device data.</td> +</tr> +<tr> <td><a href="#MicroPythonDevice.getDeviceType">getDeviceType</a></td> <td>Public method to get the device type.</td> </tr> @@ -164,6 +172,10 @@ <td>Public method to enable the supported action buttons.</td> </tr> <tr> +<td><a href="#MicroPythonDevice.setConnected">setConnected</a></td> +<td>Public method to set the connection state.</td> +</tr> +<tr> <td><a href="#MicroPythonDevice.setFileManager">setFileManager</a></td> <td>Public method to set the File Manager status and dependent status.</td> </tr> @@ -302,6 +314,26 @@ tuple of (bool, str) </dd> </dl> +<a NAME="MicroPythonDevice.checkDeviceData" ID="MicroPythonDevice.checkDeviceData"></a> +<h4>MicroPythonDevice.checkDeviceData</h4> +<b>checkDeviceData</b>(<i></i>) + +<p> + Public method to check the validity of the device data determined during + connecting the device. +</p> +<dl> +<dt>Return:</dt> +<dd> +flag indicating valid device data +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> <a NAME="MicroPythonDevice.deviceName" ID="MicroPythonDevice.deviceName"></a> <h4>MicroPythonDevice.deviceName</h4> <b>deviceName</b>(<i></i>) @@ -348,6 +380,25 @@ bool </dd> </dl> +<a NAME="MicroPythonDevice.getDeviceData" ID="MicroPythonDevice.getDeviceData"></a> +<h4>MicroPythonDevice.getDeviceData</h4> +<b>getDeviceData</b>(<i></i>) + +<p> + Public method to get a copy of the determined device data. +</p> +<dl> +<dt>Return:</dt> +<dd> +dictionary containing the essential device data +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> <a NAME="MicroPythonDevice.getDeviceType" ID="MicroPythonDevice.getDeviceType"></a> <h4>MicroPythonDevice.getDeviceType</h4> <b>getDeviceType</b>(<i></i>) @@ -594,6 +645,24 @@ <p> Public method to enable the supported action buttons. </p> +<a NAME="MicroPythonDevice.setConnected" ID="MicroPythonDevice.setConnected"></a> +<h4>MicroPythonDevice.setConnected</h4> +<b>setConnected</b>(<i>connected</i>) + +<p> + Public method to set the connection state. +</p> +<p> + Note: This method can be overwritten to perform actions upon connect + or disconnect of the device. +</p> +<dl> + +<dt><i>connected</i> (bool)</dt> +<dd> +connection state +</dd> +</dl> <a NAME="MicroPythonDevice.setFileManager" ID="MicroPythonDevice.setFileManager"></a> <h4>MicroPythonDevice.setFileManager</h4> <b>setFileManager</b>(<i>on</i>) @@ -660,7 +729,7 @@ <hr /> <a NAME="getDevice" ID="getDevice"></a> <h2>getDevice</h2> -<b>getDevice</b>(<i>deviceType, microPythonWidget, vid, pid, boardName=""</i>) +<b>getDevice</b>(<i>deviceType, microPythonWidget, vid, pid, boardName="", serialNumber=""</i>) <p> Public method to instantiate a specific MicroPython device interface. @@ -687,6 +756,10 @@ <dd> name of the board (defaults to "") </dd> +<dt><i>serialNumber</i> (str (optional))</dt> +<dd> +serial number of the board (defaults to "") +</dd> </dl> <dl> <dt>Return:</dt>
--- a/src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonWidget.html Sat Feb 11 19:52:53 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonWidget.html Sat Feb 11 19:53:53 2023 +0100 @@ -52,7 +52,7 @@ <h3>Class Attributes</h3> <table> -<tr><td>DeviceBoardRole</td></tr><tr><td>DevicePidRole</td></tr><tr><td>DevicePortRole</td></tr><tr><td>DeviceTypeRole</td></tr><tr><td>DeviceVidRole</td></tr><tr><td>ManualMarker</td></tr><tr><td>ZoomMax</td></tr><tr><td>ZoomMin</td></tr> +<tr><td>DeviceBoardRole</td></tr><tr><td>DevicePidRole</td></tr><tr><td>DevicePortRole</td></tr><tr><td>DeviceSerNoRole</td></tr><tr><td>DeviceTypeRole</td></tr><tr><td>DeviceVidRole</td></tr><tr><td>ManualMarker</td></tr><tr><td>ZoomMax</td></tr><tr><td>ZoomMin</td></tr> </table> <h3>Class Methods</h3>
--- a/src/eric7/Documentation/Source/eric7.MicroPython.MicrobitDevices.html Sat Feb 11 19:52:53 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.MicrobitDevices.html Sat Feb 11 19:53:53 2023 +0100 @@ -64,6 +64,10 @@ <td>Constructor</td> </tr> <tr> +<td><a href="#MicrobitDevice.__createMicrobitMenu">__createMicrobitMenu</a></td> +<td>Private method to create the microbit submenu.</td> +</tr> +<tr> <td><a href="#MicrobitDevice.__firmwareVersionResponse">__firmwareVersionResponse</a></td> <td>Private method handling the response of the latest version request.</td> </tr> @@ -72,6 +76,18 @@ <td>Private slot to flash MicroPython or the DAPLink firmware to the device.</td> </tr> <tr> +<td><a href="#MicrobitDevice.__isCalliope">__isCalliope</a></td> +<td>Private method to check, if the device is a Calliope mini.</td> +</tr> +<tr> +<td><a href="#MicrobitDevice.__isMicroBitV1">__isMicroBitV1</a></td> +<td>Private method to check, if the device is a BBC micro:bit v1.</td> +</tr> +<tr> +<td><a href="#MicrobitDevice.__isMicroBitV2">__isMicroBitV2</a></td> +<td>Private method to check, if the device is a BBC micro:bit v2.</td> +</tr> +<tr> <td><a href="#MicrobitDevice.__resetDevice">__resetDevice</a></td> <td>Private slot to reset the connected device.</td> </tr> @@ -148,7 +164,7 @@ <a NAME="MicrobitDevice.__init__" ID="MicrobitDevice.__init__"></a> <h4>MicrobitDevice (Constructor)</h4> -<b>MicrobitDevice</b>(<i>microPythonWidget, deviceType, parent=None</i>) +<b>MicrobitDevice</b>(<i>microPythonWidget, deviceType, serialNumber, parent=None</i>) <p> Constructor @@ -163,14 +179,25 @@ <dd> type of the device </dd> +<dt><i>serialNumber</i> (str)</dt> +<dd> +serial number of the board +</dd> <dt><i>parent</i> (QObject)</dt> <dd> reference to the parent object </dd> </dl> +<a NAME="MicrobitDevice.__createMicrobitMenu" ID="MicrobitDevice.__createMicrobitMenu"></a> +<h4>MicrobitDevice.__createMicrobitMenu</h4> +<b>__createMicrobitMenu</b>(<i></i>) + +<p> + Private method to create the microbit submenu. +</p> <a NAME="MicrobitDevice.__firmwareVersionResponse" ID="MicrobitDevice.__firmwareVersionResponse"></a> <h4>MicrobitDevice.__firmwareVersionResponse</h4> -<b>__firmwareVersionResponse</b>(<i>reply, implementation</i>) +<b>__firmwareVersionResponse</b>(<i>reply</i>) <p> Private method handling the response of the latest version request. @@ -181,11 +208,6 @@ <dd> reference to the reply object </dd> -<dt><i>implementation</i> (dict)</dt> -<dd> -dictionary containing the implementation data of the - connected device -</dd> </dl> <a NAME="MicrobitDevice.__flashMicroPython" ID="MicrobitDevice.__flashMicroPython"></a> <h4>MicrobitDevice.__flashMicroPython</h4> @@ -202,6 +224,63 @@ flag indicating to flash the DAPLink firmware </dd> </dl> +<a NAME="MicrobitDevice.__isCalliope" ID="MicrobitDevice.__isCalliope"></a> +<h4>MicrobitDevice.__isCalliope</h4> +<b>__isCalliope</b>(<i></i>) + +<p> + Private method to check, if the device is a Calliope mini. +</p> +<dl> +<dt>Return:</dt> +<dd> +flag indicating a Calliope mini +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<a NAME="MicrobitDevice.__isMicroBitV1" ID="MicrobitDevice.__isMicroBitV1"></a> +<h4>MicrobitDevice.__isMicroBitV1</h4> +<b>__isMicroBitV1</b>(<i></i>) + +<p> + Private method to check, if the device is a BBC micro:bit v1. +</p> +<dl> +<dt>Return:</dt> +<dd> +falg indicating a BBC micro:bit v1 +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<a NAME="MicrobitDevice.__isMicroBitV2" ID="MicrobitDevice.__isMicroBitV2"></a> +<h4>MicrobitDevice.__isMicroBitV2</h4> +<b>__isMicroBitV2</b>(<i></i>) + +<p> + Private method to check, if the device is a BBC micro:bit v2. +</p> +<dl> +<dt>Return:</dt> +<dd> +falg indicating a BBC micro:bit v2 +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> <a NAME="MicrobitDevice.__resetDevice" ID="MicrobitDevice.__resetDevice"></a> <h4>MicrobitDevice.__resetDevice</h4> <b>__resetDevice</b>(<i></i>) @@ -479,7 +558,7 @@ <hr /> <a NAME="createDevice" ID="createDevice"></a> <h2>createDevice</h2> -<b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid, boardName</i>) +<b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid, boardName, serialNumber</i>) <p> Function to instantiate a MicroPython device object. @@ -506,6 +585,10 @@ <dd> name of the board </dd> +<dt><i>serialNumber</i> (str)</dt> +<dd> +serial number of the board +</dd> </dl> <dl> <dt>Return:</dt>
--- a/src/eric7/Documentation/Source/eric7.MicroPython.PyBoardDevices.html Sat Feb 11 19:52:53 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.PyBoardDevices.html Sat Feb 11 19:53:53 2023 +0100 @@ -67,6 +67,10 @@ <td>Private slot to activate the bootloader and disconnect.</td> </tr> <tr> +<td><a href="#PyBoardDevice.__createPyboardMenu">__createPyboardMenu</a></td> +<td>Private method to create the pyboard submenu.</td> +</tr> +<tr> <td><a href="#PyBoardDevice.__deviceVolumeMounted">__deviceVolumeMounted</a></td> <td>Private method to check, if the device volume is mounted.</td> </tr> @@ -198,6 +202,13 @@ <p> Private slot to activate the bootloader and disconnect. </p> +<a NAME="PyBoardDevice.__createPyboardMenu" ID="PyBoardDevice.__createPyboardMenu"></a> +<h4>PyBoardDevice.__createPyboardMenu</h4> +<b>__createPyboardMenu</b>(<i></i>) + +<p> + Private method to create the pyboard submenu. +</p> <a NAME="PyBoardDevice.__deviceVolumeMounted" ID="PyBoardDevice.__deviceVolumeMounted"></a> <h4>PyBoardDevice.__deviceVolumeMounted</h4> <b>__deviceVolumeMounted</b>(<i></i>) @@ -264,7 +275,7 @@ </dl> <a NAME="PyBoardDevice.__firmwareVersionResponse" ID="PyBoardDevice.__firmwareVersionResponse"></a> <h4>PyBoardDevice.__firmwareVersionResponse</h4> -<b>__firmwareVersionResponse</b>(<i>reply, implementation</i>) +<b>__firmwareVersionResponse</b>(<i>reply</i>) <p> Private method handling the response of the latest version request. @@ -275,11 +286,6 @@ <dd> reference to the reply object </dd> -<dt><i>implementation</i> (dict)</dt> -<dd> -dictionary containing the implementation data of the - connected device -</dd> </dl> <a NAME="PyBoardDevice.__flashMicroPython" ID="PyBoardDevice.__flashMicroPython"></a> <h4>PyBoardDevice.__flashMicroPython</h4> @@ -605,7 +611,7 @@ <hr /> <a NAME="createDevice" ID="createDevice"></a> <h2>createDevice</h2> -<b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid, boardName</i>) +<b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid, boardName, serialNumber</i>) <p> Function to instantiate a MicroPython device object. @@ -632,6 +638,10 @@ <dd> name of the board </dd> +<dt><i>serialNumber</i> (str)</dt> +<dd> +serial number of the board +</dd> </dl> <dl> <dt>Return:</dt>
--- a/src/eric7/Documentation/Source/eric7.MicroPython.RP2040Devices.html Sat Feb 11 19:52:53 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.RP2040Devices.html Sat Feb 11 19:53:53 2023 +0100 @@ -68,6 +68,10 @@ <td>Private method to switch the board into 'bootloader' mode.</td> </tr> <tr> +<td><a href="#RP2040Device.__createRP2040Menu">__createRP2040Menu</a></td> +<td>Private method to create the microbit submenu.</td> +</tr> +<tr> <td><a href="#RP2040Device.__firmwareVersionResponse">__firmwareVersionResponse</a></td> <td>Private method handling the response of the latest version request.</td> </tr> @@ -163,9 +167,16 @@ <p> Private method to switch the board into 'bootloader' mode. </p> +<a NAME="RP2040Device.__createRP2040Menu" ID="RP2040Device.__createRP2040Menu"></a> +<h4>RP2040Device.__createRP2040Menu</h4> +<b>__createRP2040Menu</b>(<i></i>) + +<p> + Private method to create the microbit submenu. +</p> <a NAME="RP2040Device.__firmwareVersionResponse" ID="RP2040Device.__firmwareVersionResponse"></a> <h4>RP2040Device.__firmwareVersionResponse</h4> -<b>__firmwareVersionResponse</b>(<i>reply, implementation</i>) +<b>__firmwareVersionResponse</b>(<i>reply</i>) <p> Private method handling the response of the latest version request. @@ -176,11 +187,6 @@ <dd> reference to the reply object </dd> -<dt><i>implementation</i> (dict)</dt> -<dd> -dictionary containing the implementation data of the - connected device -</dd> </dl> <a NAME="RP2040Device.__flashPython" ID="RP2040Device.__flashPython"></a> <h4>RP2040Device.__flashPython</h4> @@ -414,7 +420,7 @@ <hr /> <a NAME="createDevice" ID="createDevice"></a> <h2>createDevice</h2> -<b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid, boardName</i>) +<b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid, boardName, serialNumber</i>) <p> Function to instantiate a MicroPython device object. @@ -441,6 +447,10 @@ <dd> name of the board </dd> +<dt><i>serialNumber</i> (str)</dt> +<dd> +serial number of the board +</dd> </dl> <dl> <dt>Return:</dt>