diff -r 1176a936efa4 -r 6758ba4670e1 eric6/Documentation/Source/eric6.MicroPython.MicrobitDevices.html --- a/eric6/Documentation/Source/eric6.MicroPython.MicrobitDevices.html Thu Feb 04 14:59:13 2021 +0100 +++ b/eric6/Documentation/Source/eric6.MicroPython.MicrobitDevices.html Thu Feb 04 15:00:22 2021 +0100 @@ -114,10 +114,6 @@ <td>Public method to get the name of the device.</td> </tr> <tr> -<td><a href="#MicrobitDevice.downloadFirmware">downloadFirmware</a></td> -<td>Public method to download the device firmware.</td> -</tr> -<tr> <td><a href="#MicrobitDevice.forceInterrupt">forceInterrupt</a></td> <td>Public method to determine the need for an interrupt when opening the serial connection.</td> </tr> @@ -126,12 +122,8 @@ <td>Public method to get the device documentation URL.</td> </tr> <tr> -<td><a href="#MicrobitDevice.getFirmwareUrl">getFirmwareUrl</a></td> -<td>Public method to get the device firmware download URL.</td> -</tr> -<tr> -<td><a href="#MicrobitDevice.getWorkspace">getWorkspace</a></td> -<td>Public method to get the workspace directory.</td> +<td><a href="#MicrobitDevice.getDownloadMenuEntries">getDownloadMenuEntries</a></td> +<td>Public method to retrieve the entries for the downloads menu.</td> </tr> <tr> <td><a href="#MicrobitDevice.hasTimeCommands">hasTimeCommands</a></td> @@ -332,13 +324,6 @@ str </dd> </dl> -<a NAME="MicrobitDevice.downloadFirmware" ID="MicrobitDevice.downloadFirmware"></a> -<h4>MicrobitDevice.downloadFirmware</h4> -<b>downloadFirmware</b>(<i></i>) - -<p> - Public method to download the device firmware. -</p> <a NAME="MicrobitDevice.forceInterrupt" ID="MicrobitDevice.forceInterrupt"></a> <h4>MicrobitDevice.forceInterrupt</h4> <b>forceInterrupt</b>(<i></i>) @@ -378,50 +363,24 @@ str </dd> </dl> -<a NAME="MicrobitDevice.getFirmwareUrl" ID="MicrobitDevice.getFirmwareUrl"></a> -<h4>MicrobitDevice.getFirmwareUrl</h4> -<b>getFirmwareUrl</b>(<i>fwtype="mpy"</i>) +<a NAME="MicrobitDevice.getDownloadMenuEntries" ID="MicrobitDevice.getDownloadMenuEntries"></a> +<h4>MicrobitDevice.getDownloadMenuEntries</h4> +<b>getDownloadMenuEntries</b>(<i></i>) <p> - Public method to get the device firmware download URL. + Public method to retrieve the entries for the downloads menu. </p> <dl> - -<dt><i>fwtype</i> (str (optional))</dt> -<dd> -type of firmware to download - (valid values are "mpy" and "dap"; defaults to "mpy") -</dd> -</dl> -<dl> <dt>Return:</dt> <dd> -firmware download URL of the device +list of tuples with menu text and URL to be opened for each + entry </dd> </dl> <dl> <dt>Return Type:</dt> <dd> -str -</dd> -</dl> -<a NAME="MicrobitDevice.getWorkspace" ID="MicrobitDevice.getWorkspace"></a> -<h4>MicrobitDevice.getWorkspace</h4> -<b>getWorkspace</b>(<i></i>) - -<p> - Public method to get the workspace directory. -</p> -<dl> -<dt>Return:</dt> -<dd> -workspace directory used for saving files -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -str +list of tuple of (str, str) </dd> </dl> <a NAME="MicrobitDevice.hasTimeCommands" ID="MicrobitDevice.hasTimeCommands"></a>