eric6/Documentation/Source/eric6.MicroPython.MicrobitDevices.html

changeset 8039
13fed1ed06e8
parent 8032
76375aa6bc04
child 8070
6758ba4670e1
--- a/eric6/Documentation/Source/eric6.MicroPython.MicrobitDevices.html	Sun Jan 31 17:47:55 2021 +0100
+++ b/eric6/Documentation/Source/eric6.MicroPython.MicrobitDevices.html	Sun Jan 31 17:50:31 2021 +0100
@@ -114,6 +114,10 @@
 <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>
@@ -328,6 +332,13 @@
 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>)
@@ -369,12 +380,20 @@
 </dl>
 <a NAME="MicrobitDevice.getFirmwareUrl" ID="MicrobitDevice.getFirmwareUrl"></a>
 <h4>MicrobitDevice.getFirmwareUrl</h4>
-<b>getFirmwareUrl</b>(<i></i>)
+<b>getFirmwareUrl</b>(<i>fwtype="mpy"</i>)
 
 <p>
         Public method to get the device firmware download URL.
 </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

eric ide

mercurial