src/eric7/Documentation/Source/eric7.MicroPython.Devices.DeviceBase.html

branch
eric7
changeset 9844
2f3d623f7617
parent 9840
d41ee69fa69b
child 9847
d8c7ded575cb
--- a/src/eric7/Documentation/Source/eric7.MicroPython.Devices.DeviceBase.html	Fri Mar 03 17:49:36 2023 +0100
+++ b/src/eric7/Documentation/Source/eric7.MicroPython.Devices.DeviceBase.html	Fri Mar 03 19:03:33 2023 +0100
@@ -285,6 +285,10 @@
 <td>Public method to get a directory listing of the connected device.</td>
 </tr>
 <tr>
+<td><a href="#BaseDevice.mipInstall">mipInstall</a></td>
+<td>Public method</td>
+</tr>
+<tr>
 <td><a href="#BaseDevice.mkdir">mkdir</a></td>
 <td>Public method to create a new directory.</td>
 </tr>
@@ -373,6 +377,10 @@
 <td>Public method to set the time of the connected device to the local computer's time.</td>
 </tr>
 <tr>
+<td><a href="#BaseDevice.upipInstall">upipInstall</a></td>
+<td>Public method to install packages using 'upip'.</td>
+</tr>
+<tr>
 <td><a href="#BaseDevice.writeCredentials">writeCredentials</a></td>
 <td>Public method to write the given credentials to the connected device and modify the start script to connect automatically.</td>
 </tr>
@@ -1359,6 +1367,34 @@
 raised to indicate an issue with the device
 </dd>
 </dl>
+<a NAME="BaseDevice.mipInstall" ID="BaseDevice.mipInstall"></a>
+<h4>BaseDevice.mipInstall</h4>
+<b>mipInstall</b>(<i>package, version, mpy</i>)
+
+<p>
+        Public method 
+</p>
+<dl>
+
+<dt><i>package</i> (str)</dt>
+<dd>
+package name
+</dd>
+<dt><i>version</i> (str)</dt>
+<dd>
+package version
+</dd>
+<dt><i>mpy</i> (bool)</dt>
+<dd>
+flag indicating to install as '.mpy' file
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+tuple of (str, str)
+</dd>
+</dl>
 <a NAME="BaseDevice.mkdir" ID="BaseDevice.mkdir"></a>
 <h4>BaseDevice.mkdir</h4>
 <b>mkdir</b>(<i>dirname</i>)
@@ -1847,6 +1883,19 @@
 raised to indicate an issue with the device
 </dd>
 </dl>
+<a NAME="BaseDevice.upipInstall" ID="BaseDevice.upipInstall"></a>
+<h4>BaseDevice.upipInstall</h4>
+<b>upipInstall</b>(<i>packages</i>)
+
+<p>
+        Public method to install packages using 'upip'.
+</p>
+<dl>
+<dt>Return:</dt>
+<dd>
+tuple of (str, str)
+</dd>
+</dl>
 <a NAME="BaseDevice.writeCredentials" ID="BaseDevice.writeCredentials"></a>
 <h4>BaseDevice.writeCredentials</h4>
 <b>writeCredentials</b>(<i>ssid, password</i>)

eric ide

mercurial