diff -r 1176a936efa4 -r 6758ba4670e1 eric6/Documentation/Source/eric6.MicroPython.MicroPythonDevices.html --- a/eric6/Documentation/Source/eric6.MicroPython.MicroPythonDevices.html Thu Feb 04 14:59:13 2021 +0100 +++ b/eric6/Documentation/Source/eric6.MicroPython.MicroPythonDevices.html Thu Feb 04 15:00:22 2021 +0100 @@ -126,6 +126,10 @@ <td>Public method to get the device documentation URL.</td> </tr> <tr> +<td><a href="#MicroPythonDevice.getDownloadMenuEntries">getDownloadMenuEntries</a></td> +<td>Public method to retrieve the entries for the downloads menu.</td> +</tr> +<tr> <td><a href="#MicroPythonDevice.getFirmwareUrl">getFirmwareUrl</a></td> <td>Public method to get the device firmware download URL.</td> </tr> @@ -154,6 +158,10 @@ <td>Public method to run the given Python script.</td> </tr> <tr> +<td><a href="#MicroPythonDevice.selectDeviceDirectory">selectDeviceDirectory</a></td> +<td>Public method to select the device directory from a list of detected ones.</td> +</tr> +<tr> <td><a href="#MicroPythonDevice.sendCommands">sendCommands</a></td> <td>Public method to send a list of commands to the device.</td> </tr> @@ -361,6 +369,26 @@ str </dd> </dl> +<a NAME="MicroPythonDevice.getDownloadMenuEntries" ID="MicroPythonDevice.getDownloadMenuEntries"></a> +<h4>MicroPythonDevice.getDownloadMenuEntries</h4> +<b>getDownloadMenuEntries</b>(<i></i>) + +<p> + Public method to retrieve the entries for the downloads menu. +</p> +<dl> +<dt>Return:</dt> +<dd> +list of tuples with menu text and URL to be opened for each + entry +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +list of tuple of (str, str) +</dd> +</dl> <a NAME="MicroPythonDevice.getFirmwareUrl" ID="MicroPythonDevice.getFirmwareUrl"></a> <h4>MicroPythonDevice.getFirmwareUrl</h4> <b>getFirmwareUrl</b>(<i></i>) @@ -482,6 +510,33 @@ script to be executed </dd> </dl> +<a NAME="MicroPythonDevice.selectDeviceDirectory" ID="MicroPythonDevice.selectDeviceDirectory"></a> +<h4>MicroPythonDevice.selectDeviceDirectory</h4> +<b>selectDeviceDirectory</b>(<i>deviceDirectories</i>) + +<p> + Public method to select the device directory from a list of detected + ones. +</p> +<dl> + +<dt><i>deviceDirectories</i> (list of str)</dt> +<dd> +list of directories to select from +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +selected directory or an empty string +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> <a NAME="MicroPythonDevice.sendCommands" ID="MicroPythonDevice.sendCommands"></a> <h4>MicroPythonDevice.sendCommands</h4> <b>sendCommands</b>(<i>commandsList</i>)