eric6/Documentation/Source/eric6.MicroPython.CircuitPythonDevices.html

changeset 8070
6758ba4670e1
parent 7989
a21d673a8f99
child 8072
58491f4c99d6
--- a/eric6/Documentation/Source/eric6.MicroPython.CircuitPythonDevices.html	Thu Feb 04 14:59:13 2021 +0100
+++ b/eric6/Documentation/Source/eric6.MicroPython.CircuitPythonDevices.html	Thu Feb 04 15:00:22 2021 +0100
@@ -77,6 +77,10 @@
 <td>Private method to check, if the device volume is mounted.</td>
 </tr>
 <tr>
+<td><a href="#CircuitPythonDevice.__findWorkspace">__findWorkspace</a></td>
+<td>Private method to find the workspace directory.</td>
+</tr>
+<tr>
 <td><a href="#CircuitPythonDevice.__flashCircuitPython">__flashCircuitPython</a></td>
 <td>Private slot to flash a CircuitPython firmware to the device.</td>
 </tr>
@@ -117,8 +121,8 @@
 <td>Public method to get the device documentation URL.</td>
 </tr>
 <tr>
-<td><a href="#CircuitPythonDevice.getFirmwareUrl">getFirmwareUrl</a></td>
-<td>Public method to get the device firmware download URL.</td>
+<td><a href="#CircuitPythonDevice.getDownloadMenuEntries">getDownloadMenuEntries</a></td>
+<td>Public method to retrieve the entries for the downloads menu.</td>
 </tr>
 <tr>
 <td><a href="#CircuitPythonDevice.getWorkspace">getWorkspace</a></td>
@@ -180,6 +184,32 @@
 bool
 </dd>
 </dl>
+<a NAME="CircuitPythonDevice.__findWorkspace" ID="CircuitPythonDevice.__findWorkspace"></a>
+<h4>CircuitPythonDevice.__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="CircuitPythonDevice.__flashCircuitPython" ID="CircuitPythonDevice.__flashCircuitPython"></a>
 <h4>CircuitPythonDevice.__flashCircuitPython</h4>
 <b>__flashCircuitPython</b>(<i></i>)
@@ -346,23 +376,24 @@
 str
 </dd>
 </dl>
-<a NAME="CircuitPythonDevice.getFirmwareUrl" ID="CircuitPythonDevice.getFirmwareUrl"></a>
-<h4>CircuitPythonDevice.getFirmwareUrl</h4>
-<b>getFirmwareUrl</b>(<i></i>)
+<a NAME="CircuitPythonDevice.getDownloadMenuEntries" ID="CircuitPythonDevice.getDownloadMenuEntries"></a>
+<h4>CircuitPythonDevice.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>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
+list of tuple of (str, str)
 </dd>
 </dl>
 <a NAME="CircuitPythonDevice.getWorkspace" ID="CircuitPythonDevice.getWorkspace"></a>

eric ide

mercurial