Fri, 21 Mar 2025 18:12:17 +0100
Regenerated the source code documentation.
--- a/src/eric7/APIs/Python3/eric7.api Fri Mar 21 18:11:36 2025 +0100 +++ b/src/eric7/APIs/Python3/eric7.api Fri Mar 21 18:12:17 2025 +0100 @@ -3133,11 +3133,9 @@ eric7.MicroPython.Devices.STLinkDevices.STLinkDevice.forceInterrupt?4() eric7.MicroPython.Devices.STLinkDevices.STLinkDevice.getDocumentationUrl?4() eric7.MicroPython.Devices.STLinkDevices.STLinkDevice.getFirmwareUrl?4() -eric7.MicroPython.Devices.STLinkDevices.STLinkDevice.getWorkspace?4(silent=False) eric7.MicroPython.Devices.STLinkDevices.STLinkDevice.hasFlashMenuEntry?4() eric7.MicroPython.Devices.STLinkDevices.STLinkDevice.runScript?4(script) eric7.MicroPython.Devices.STLinkDevices.STLinkDevice.setButtons?4() -eric7.MicroPython.Devices.STLinkDevices.STLinkDevice.supportsLocalFileAccess?4() eric7.MicroPython.Devices.STLinkDevices.STLinkDevice?1(microPythonWidget, deviceType, parent=None) eric7.MicroPython.Devices.STLinkDevices.createDevice?4(microPythonWidget, deviceType, _vid, _pid, _boardName, _serialNumber) eric7.MicroPython.Devices.SupportedBoards?7 @@ -3345,6 +3343,7 @@ eric7.MicroPython.MicroPythonWidget.MicroPythonWidget.getDeviceWorkspace?4() eric7.MicroPython.MicroPythonWidget.MicroPythonWidget.getFileManager?4() eric7.MicroPython.MicroPythonWidget.MicroPythonWidget.handleDataFlood?4() +eric7.MicroPython.MicroPythonWidget.MicroPythonWidget.insertData?4(data) eric7.MicroPython.MicroPythonWidget.MicroPythonWidget.isConnected?4() eric7.MicroPython.MicroPythonWidget.MicroPythonWidget.isLinkConnected?4() eric7.MicroPython.MicroPythonWidget.MicroPythonWidget.isMicrobit?4()
--- a/src/eric7/Documentation/Help/source.qhp Fri Mar 21 18:11:36 2025 +0100 +++ b/src/eric7/Documentation/Help/source.qhp Fri Mar 21 18:12:17 2025 +0100 @@ -11822,6 +11822,7 @@ <keyword name="MicroPythonWidget.getDeviceWorkspace" id="MicroPythonWidget.getDeviceWorkspace" ref="eric7.MicroPython.MicroPythonWidget.html#MicroPythonWidget.getDeviceWorkspace" /> <keyword name="MicroPythonWidget.getFileManager" id="MicroPythonWidget.getFileManager" ref="eric7.MicroPython.MicroPythonWidget.html#MicroPythonWidget.getFileManager" /> <keyword name="MicroPythonWidget.handleDataFlood" id="MicroPythonWidget.handleDataFlood" ref="eric7.MicroPython.MicroPythonWidget.html#MicroPythonWidget.handleDataFlood" /> + <keyword name="MicroPythonWidget.insertData" id="MicroPythonWidget.insertData" ref="eric7.MicroPython.MicroPythonWidget.html#MicroPythonWidget.insertData" /> <keyword name="MicroPythonWidget.isConnected" id="MicroPythonWidget.isConnected" ref="eric7.MicroPython.MicroPythonWidget.html#MicroPythonWidget.isConnected" /> <keyword name="MicroPythonWidget.isLinkConnected" id="MicroPythonWidget.isLinkConnected" ref="eric7.MicroPython.MicroPythonWidget.html#MicroPythonWidget.isLinkConnected" /> <keyword name="MicroPythonWidget.isMicrobit" id="MicroPythonWidget.isMicrobit" ref="eric7.MicroPython.MicroPythonWidget.html#MicroPythonWidget.isMicrobit" /> @@ -15077,8 +15078,6 @@ <keyword name="STLinkDevice" id="STLinkDevice" ref="eric7.MicroPython.Devices.STLinkDevices.html#STLinkDevice" /> <keyword name="STLinkDevice (Constructor)" id="STLinkDevice (Constructor)" ref="eric7.MicroPython.Devices.STLinkDevices.html#STLinkDevice.__init__" /> <keyword name="STLinkDevice.__createSTLinkMenu" id="STLinkDevice.__createSTLinkMenu" ref="eric7.MicroPython.Devices.STLinkDevices.html#STLinkDevice.__createSTLinkMenu" /> - <keyword name="STLinkDevice.__deviceVolumeMounted" id="STLinkDevice.__deviceVolumeMounted" ref="eric7.MicroPython.Devices.STLinkDevices.html#STLinkDevice.__deviceVolumeMounted" /> - <keyword name="STLinkDevice.__findWorkspace" id="STLinkDevice.__findWorkspace" ref="eric7.MicroPython.Devices.STLinkDevices.html#STLinkDevice.__findWorkspace" /> <keyword name="STLinkDevice.__firmwareVersionResponse" id="STLinkDevice.__firmwareVersionResponse" ref="eric7.MicroPython.Devices.STLinkDevices.html#STLinkDevice.__firmwareVersionResponse" /> <keyword name="STLinkDevice.__flashMicroPython" id="STLinkDevice.__flashMicroPython" ref="eric7.MicroPython.Devices.STLinkDevices.html#STLinkDevice.__flashMicroPython" /> <keyword name="STLinkDevice.__resetDevice" id="STLinkDevice.__resetDevice" ref="eric7.MicroPython.Devices.STLinkDevices.html#STLinkDevice.__resetDevice" /> @@ -15096,11 +15095,9 @@ <keyword name="STLinkDevice.forceInterrupt" id="STLinkDevice.forceInterrupt" ref="eric7.MicroPython.Devices.STLinkDevices.html#STLinkDevice.forceInterrupt" /> <keyword name="STLinkDevice.getDocumentationUrl" id="STLinkDevice.getDocumentationUrl" ref="eric7.MicroPython.Devices.STLinkDevices.html#STLinkDevice.getDocumentationUrl" /> <keyword name="STLinkDevice.getFirmwareUrl" id="STLinkDevice.getFirmwareUrl" ref="eric7.MicroPython.Devices.STLinkDevices.html#STLinkDevice.getFirmwareUrl" /> - <keyword name="STLinkDevice.getWorkspace" id="STLinkDevice.getWorkspace" ref="eric7.MicroPython.Devices.STLinkDevices.html#STLinkDevice.getWorkspace" /> <keyword name="STLinkDevice.hasFlashMenuEntry" id="STLinkDevice.hasFlashMenuEntry" ref="eric7.MicroPython.Devices.STLinkDevices.html#STLinkDevice.hasFlashMenuEntry" /> <keyword name="STLinkDevice.runScript" id="STLinkDevice.runScript" ref="eric7.MicroPython.Devices.STLinkDevices.html#STLinkDevice.runScript" /> <keyword name="STLinkDevice.setButtons" id="STLinkDevice.setButtons" ref="eric7.MicroPython.Devices.STLinkDevices.html#STLinkDevice.setButtons" /> - <keyword name="STLinkDevice.supportsLocalFileAccess" id="STLinkDevice.supportsLocalFileAccess" ref="eric7.MicroPython.Devices.STLinkDevices.html#STLinkDevice.supportsLocalFileAccess" /> <keyword name="STLinkDevices (Module)" id="STLinkDevices (Module)" ref="eric7.MicroPython.Devices.STLinkDevices.html" /> <keyword name="SafariImporter" id="SafariImporter" ref="eric7.WebBrowser.Bookmarks.BookmarksImporters.SafariImporter.html#SafariImporter" /> <keyword name="SafariImporter (Constructor)" id="SafariImporter (Constructor)" ref="eric7.WebBrowser.Bookmarks.BookmarksImporters.SafariImporter.html#SafariImporter.__init__" />
--- a/src/eric7/Documentation/Source/eric7.MicroPython.Devices.STLinkDevices.html Fri Mar 21 18:11:36 2025 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.Devices.STLinkDevices.html Fri Mar 21 18:12:17 2025 +0100 @@ -63,14 +63,6 @@ <td>Private method to create the STLink submenu.</td> </tr> <tr> -<td><a href="#STLinkDevice.__deviceVolumeMounted">__deviceVolumeMounted</a></td> -<td>Private method to check, if the device volume is mounted.</td> -</tr> -<tr> -<td><a href="#STLinkDevice.__findWorkspace">__findWorkspace</a></td> -<td>Private method to find the workspace directory.</td> -</tr> -<tr> <td><a href="#STLinkDevice.__firmwareVersionResponse">__firmwareVersionResponse</a></td> <td>Private slot handling the response of the latest version request.</td> </tr> @@ -139,10 +131,6 @@ <td>Public method to get the device firmware download URL.</td> </tr> <tr> -<td><a href="#STLinkDevice.getWorkspace">getWorkspace</a></td> -<td>Public method to get the workspace directory.</td> -</tr> -<tr> <td><a href="#STLinkDevice.hasFlashMenuEntry">hasFlashMenuEntry</a></td> <td>Public method to check, if the device has its own flash menu entry.</td> </tr> @@ -154,10 +142,6 @@ <td><a href="#STLinkDevice.setButtons">setButtons</a></td> <td>Public method to enable the supported action buttons.</td> </tr> -<tr> -<td><a href="#STLinkDevice.supportsLocalFileAccess">supportsLocalFileAccess</a></td> -<td>Public method to indicate file access via a local directory.</td> -</tr> </table> <h3>Static Methods</h3> @@ -195,51 +179,6 @@ Private method to create the STLink submenu. </p> -<a NAME="STLinkDevice.__deviceVolumeMounted" ID="STLinkDevice.__deviceVolumeMounted"></a> -<h4>STLinkDevice.__deviceVolumeMounted</h4> -<b>__deviceVolumeMounted</b>(<i></i>) -<p> - Private method to check, if the device volume is mounted. -</p> - -<dl> -<dt>Return:</dt> -<dd> -flag indicated a mounted device -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -bool -</dd> -</dl> -<a NAME="STLinkDevice.__findWorkspace" ID="STLinkDevice.__findWorkspace"></a> -<h4>STLinkDevice.__findWorkspace</h4> -<b>__findWorkspace</b>(<i>silent=False</i>) -<p> - Private method to find the workspace directory. -</p> - -<dl> - -<dt><i>silent</i> (bool)</dt> -<dd> -flag indicating silent operations -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -workspace directory used for saving files -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -str -</dd> -</dl> <a NAME="STLinkDevice.__firmwareVersionResponse" ID="STLinkDevice.__firmwareVersionResponse"></a> <h4>STLinkDevice.__firmwareVersionResponse</h4> <b>__firmwareVersionResponse</b>(<i>reply</i>) @@ -530,32 +469,6 @@ str </dd> </dl> -<a NAME="STLinkDevice.getWorkspace" ID="STLinkDevice.getWorkspace"></a> -<h4>STLinkDevice.getWorkspace</h4> -<b>getWorkspace</b>(<i>silent=False</i>) -<p> - Public method to get the workspace directory. -</p> - -<dl> - -<dt><i>silent</i> (bool)</dt> -<dd> -flag indicating silent operations -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -workspace directory used for saving files -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -str -</dd> -</dl> <a NAME="STLinkDevice.hasFlashMenuEntry" ID="STLinkDevice.hasFlashMenuEntry"></a> <h4>STLinkDevice.hasFlashMenuEntry</h4> <b>hasFlashMenuEntry</b>(<i></i>) @@ -596,25 +509,6 @@ Public method to enable the supported action buttons. </p> -<a NAME="STLinkDevice.supportsLocalFileAccess" ID="STLinkDevice.supportsLocalFileAccess"></a> -<h4>STLinkDevice.supportsLocalFileAccess</h4> -<b>supportsLocalFileAccess</b>(<i></i>) -<p> - Public method to indicate file access via a local directory. -</p> - -<dl> -<dt>Return:</dt> -<dd> -flag indicating file access via local directory -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -bool -</dd> -</dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr />
--- a/src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonWidget.html Fri Mar 21 18:11:36 2025 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonWidget.html Fri Mar 21 18:12:17 2025 +0100 @@ -239,6 +239,10 @@ <td>Public slot handling a data flood from the device.</td> </tr> <tr> +<td><a href="#MicroPythonWidget.insertData">insertData</a></td> +<td>Public method to insert some data as if it was sent directly from the device.</td> +</tr> +<tr> <td><a href="#MicroPythonWidget.isConnected">isConnected</a></td> <td>Public method to get the MicroPython device connection state.</td> </tr> @@ -756,6 +760,20 @@ Public slot handling a data flood from the device. </p> +<a NAME="MicroPythonWidget.insertData" ID="MicroPythonWidget.insertData"></a> +<h4>MicroPythonWidget.insertData</h4> +<b>insertData</b>(<i>data</i>) +<p> + Public method to insert some data as if it was sent directly from the device. +</p> + +<dl> + +<dt><i>data</i> (str or bytes)</dt> +<dd> +data to be inserted into the REPL pane +</dd> +</dl> <a NAME="MicroPythonWidget.isConnected" ID="MicroPythonWidget.isConnected"></a> <h4>MicroPythonWidget.isConnected</h4> <b>isConnected</b>(<i></i>)