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

changeset 7299
a22b87b46128
parent 7273
391d6b7b1eff
child 7336
0095e231ddaf
diff -r 9d15757d06ac -r a22b87b46128 eric6/Documentation/Source/eric6.MicroPython.MicrobitDevices.html
--- a/eric6/Documentation/Source/eric6.MicroPython.MicrobitDevices.html	Sun Oct 13 15:30:10 2019 +0200
+++ b/eric6/Documentation/Source/eric6.MicroPython.MicrobitDevices.html	Sat Oct 19 20:32:26 2019 +0200
@@ -73,22 +73,10 @@
 <td>Constructor</td>
 </tr>
 <tr>
-<td><a href="#MicrobitDevice.__flashCustomMicroPython">__flashCustomMicroPython</a></td>
-<td>Private slot to flash a custom MicroPython firmware to the device.</td>
-</tr>
-<tr>
 <td><a href="#MicrobitDevice.__flashMicroPython">__flashMicroPython</a></td>
 <td>Private slot to flash the default MicroPython firmware to the device.</td>
 </tr>
 <tr>
-<td><a href="#MicrobitDevice.__flashScript">__flashScript</a></td>
-<td>Private slot to flash the current script onto the selected device.</td>
-</tr>
-<tr>
-<td><a href="#MicrobitDevice.__installUflashTool">__installUflashTool</a></td>
-<td>Private slot to install the uflash package via pip.</td>
-</tr>
-<tr>
 <td><a href="#MicrobitDevice.__resetDevice">__resetDevice</a></td>
 <td>Private slot to reset the connected device.</td>
 </tr>
@@ -97,6 +85,10 @@
 <td>Private slot to copy the current script as 'main.py' onto the connected device.</td>
 </tr>
 <tr>
+<td><a href="#MicrobitDevice.__saveScriptToDevice">__saveScriptToDevice</a></td>
+<td>Private method to save the current script onto the connected device.</td>
+</tr>
+<tr>
 <td><a href="#MicrobitDevice.addDeviceMenuEntries">addDeviceMenuEntries</a></td>
 <td>Public method to add device specific entries to the given menu.</td>
 </tr>
@@ -169,13 +161,6 @@
 reference to the parent object
 </dd>
 </dl>
-<a NAME="MicrobitDevice.__flashCustomMicroPython" ID="MicrobitDevice.__flashCustomMicroPython"></a>
-<h4>MicrobitDevice.__flashCustomMicroPython</h4>
-<b>__flashCustomMicroPython</b>(<i></i>)
-
-<p>
-        Private slot to flash a custom MicroPython firmware to the device.
-</p>
 <a NAME="MicrobitDevice.__flashMicroPython" ID="MicrobitDevice.__flashMicroPython"></a>
 <h4>MicrobitDevice.__flashMicroPython</h4>
 <b>__flashMicroPython</b>(<i></i>)
@@ -183,20 +168,6 @@
 <p>
         Private slot to flash the default MicroPython firmware to the device.
 </p>
-<a NAME="MicrobitDevice.__flashScript" ID="MicrobitDevice.__flashScript"></a>
-<h4>MicrobitDevice.__flashScript</h4>
-<b>__flashScript</b>(<i></i>)
-
-<p>
-        Private slot to flash the current script onto the selected device.
-</p>
-<a NAME="MicrobitDevice.__installUflashTool" ID="MicrobitDevice.__installUflashTool"></a>
-<h4>MicrobitDevice.__installUflashTool</h4>
-<b>__installUflashTool</b>(<i></i>)
-
-<p>
-        Private slot to install the uflash package via pip.
-</p>
 <a NAME="MicrobitDevice.__resetDevice" ID="MicrobitDevice.__resetDevice"></a>
 <h4>MicrobitDevice.__resetDevice</h4>
 <b>__resetDevice</b>(<i></i>)
@@ -212,6 +183,21 @@
         Private slot to copy the current script as 'main.py' onto the
         connected device.
 </p>
+<a NAME="MicrobitDevice.__saveScriptToDevice" ID="MicrobitDevice.__saveScriptToDevice"></a>
+<h4>MicrobitDevice.__saveScriptToDevice</h4>
+<b>__saveScriptToDevice</b>(<i>scriptName=""</i>)
+
+<p>
+        Private method to save the current script onto the connected
+        device.
+</p>
+<dl>
+
+<dt><i>scriptName</i> (str)</dt>
+<dd>
+name of the file on the device
+</dd>
+</dl>
 <a NAME="MicrobitDevice.addDeviceMenuEntries" ID="MicrobitDevice.addDeviceMenuEntries"></a>
 <h4>MicrobitDevice.addDeviceMenuEntries</h4>
 <b>addDeviceMenuEntries</b>(<i>menu</i>)

eric ide

mercurial