61 <tr> |
61 <tr> |
62 <td><a href="#STLinkDevice.__createSTLinkMenu">__createSTLinkMenu</a></td> |
62 <td><a href="#STLinkDevice.__createSTLinkMenu">__createSTLinkMenu</a></td> |
63 <td>Private method to create the STLink submenu.</td> |
63 <td>Private method to create the STLink submenu.</td> |
64 </tr> |
64 </tr> |
65 <tr> |
65 <tr> |
66 <td><a href="#STLinkDevice.__deviceVolumeMounted">__deviceVolumeMounted</a></td> |
|
67 <td>Private method to check, if the device volume is mounted.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#STLinkDevice.__findWorkspace">__findWorkspace</a></td> |
|
71 <td>Private method to find the workspace directory.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#STLinkDevice.__firmwareVersionResponse">__firmwareVersionResponse</a></td> |
66 <td><a href="#STLinkDevice.__firmwareVersionResponse">__firmwareVersionResponse</a></td> |
75 <td>Private slot handling the response of the latest version request.</td> |
67 <td>Private slot handling the response of the latest version request.</td> |
76 </tr> |
68 </tr> |
77 <tr> |
69 <tr> |
78 <td><a href="#STLinkDevice.__flashMicroPython">__flashMicroPython</a></td> |
70 <td><a href="#STLinkDevice.__flashMicroPython">__flashMicroPython</a></td> |
137 <tr> |
129 <tr> |
138 <td><a href="#STLinkDevice.getFirmwareUrl">getFirmwareUrl</a></td> |
130 <td><a href="#STLinkDevice.getFirmwareUrl">getFirmwareUrl</a></td> |
139 <td>Public method to get the device firmware download URL.</td> |
131 <td>Public method to get the device firmware download URL.</td> |
140 </tr> |
132 </tr> |
141 <tr> |
133 <tr> |
142 <td><a href="#STLinkDevice.getWorkspace">getWorkspace</a></td> |
|
143 <td>Public method to get the workspace directory.</td> |
|
144 </tr> |
|
145 <tr> |
|
146 <td><a href="#STLinkDevice.hasFlashMenuEntry">hasFlashMenuEntry</a></td> |
134 <td><a href="#STLinkDevice.hasFlashMenuEntry">hasFlashMenuEntry</a></td> |
147 <td>Public method to check, if the device has its own flash menu entry.</td> |
135 <td>Public method to check, if the device has its own flash menu entry.</td> |
148 </tr> |
136 </tr> |
149 <tr> |
137 <tr> |
150 <td><a href="#STLinkDevice.runScript">runScript</a></td> |
138 <td><a href="#STLinkDevice.runScript">runScript</a></td> |
151 <td>Public method to run the given Python script.</td> |
139 <td>Public method to run the given Python script.</td> |
152 </tr> |
140 </tr> |
153 <tr> |
141 <tr> |
154 <td><a href="#STLinkDevice.setButtons">setButtons</a></td> |
142 <td><a href="#STLinkDevice.setButtons">setButtons</a></td> |
155 <td>Public method to enable the supported action buttons.</td> |
143 <td>Public method to enable the supported action buttons.</td> |
156 </tr> |
|
157 <tr> |
|
158 <td><a href="#STLinkDevice.supportsLocalFileAccess">supportsLocalFileAccess</a></td> |
|
159 <td>Public method to indicate file access via a local directory.</td> |
|
160 </tr> |
144 </tr> |
161 </table> |
145 </table> |
162 |
146 |
163 <h3>Static Methods</h3> |
147 <h3>Static Methods</h3> |
164 <table> |
148 <table> |
193 <b>__createSTLinkMenu</b>(<i></i>) |
177 <b>__createSTLinkMenu</b>(<i></i>) |
194 <p> |
178 <p> |
195 Private method to create the STLink submenu. |
179 Private method to create the STLink submenu. |
196 </p> |
180 </p> |
197 |
181 |
198 <a NAME="STLinkDevice.__deviceVolumeMounted" ID="STLinkDevice.__deviceVolumeMounted"></a> |
|
199 <h4>STLinkDevice.__deviceVolumeMounted</h4> |
|
200 <b>__deviceVolumeMounted</b>(<i></i>) |
|
201 <p> |
|
202 Private method to check, if the device volume is mounted. |
|
203 </p> |
|
204 |
|
205 <dl> |
|
206 <dt>Return:</dt> |
|
207 <dd> |
|
208 flag indicated a mounted device |
|
209 </dd> |
|
210 </dl> |
|
211 <dl> |
|
212 <dt>Return Type:</dt> |
|
213 <dd> |
|
214 bool |
|
215 </dd> |
|
216 </dl> |
|
217 <a NAME="STLinkDevice.__findWorkspace" ID="STLinkDevice.__findWorkspace"></a> |
|
218 <h4>STLinkDevice.__findWorkspace</h4> |
|
219 <b>__findWorkspace</b>(<i>silent=False</i>) |
|
220 <p> |
|
221 Private method to find the workspace directory. |
|
222 </p> |
|
223 |
|
224 <dl> |
|
225 |
|
226 <dt><i>silent</i> (bool)</dt> |
|
227 <dd> |
|
228 flag indicating silent operations |
|
229 </dd> |
|
230 </dl> |
|
231 <dl> |
|
232 <dt>Return:</dt> |
|
233 <dd> |
|
234 workspace directory used for saving files |
|
235 </dd> |
|
236 </dl> |
|
237 <dl> |
|
238 <dt>Return Type:</dt> |
|
239 <dd> |
|
240 str |
|
241 </dd> |
|
242 </dl> |
|
243 <a NAME="STLinkDevice.__firmwareVersionResponse" ID="STLinkDevice.__firmwareVersionResponse"></a> |
182 <a NAME="STLinkDevice.__firmwareVersionResponse" ID="STLinkDevice.__firmwareVersionResponse"></a> |
244 <h4>STLinkDevice.__firmwareVersionResponse</h4> |
183 <h4>STLinkDevice.__firmwareVersionResponse</h4> |
245 <b>__firmwareVersionResponse</b>(<i>reply</i>) |
184 <b>__firmwareVersionResponse</b>(<i>reply</i>) |
246 <p> |
185 <p> |
247 Private slot handling the response of the latest version request. |
186 Private slot handling the response of the latest version request. |
528 <dt>Return Type:</dt> |
467 <dt>Return Type:</dt> |
529 <dd> |
468 <dd> |
530 str |
469 str |
531 </dd> |
470 </dd> |
532 </dl> |
471 </dl> |
533 <a NAME="STLinkDevice.getWorkspace" ID="STLinkDevice.getWorkspace"></a> |
|
534 <h4>STLinkDevice.getWorkspace</h4> |
|
535 <b>getWorkspace</b>(<i>silent=False</i>) |
|
536 <p> |
|
537 Public method to get the workspace directory. |
|
538 </p> |
|
539 |
|
540 <dl> |
|
541 |
|
542 <dt><i>silent</i> (bool)</dt> |
|
543 <dd> |
|
544 flag indicating silent operations |
|
545 </dd> |
|
546 </dl> |
|
547 <dl> |
|
548 <dt>Return:</dt> |
|
549 <dd> |
|
550 workspace directory used for saving files |
|
551 </dd> |
|
552 </dl> |
|
553 <dl> |
|
554 <dt>Return Type:</dt> |
|
555 <dd> |
|
556 str |
|
557 </dd> |
|
558 </dl> |
|
559 <a NAME="STLinkDevice.hasFlashMenuEntry" ID="STLinkDevice.hasFlashMenuEntry"></a> |
472 <a NAME="STLinkDevice.hasFlashMenuEntry" ID="STLinkDevice.hasFlashMenuEntry"></a> |
560 <h4>STLinkDevice.hasFlashMenuEntry</h4> |
473 <h4>STLinkDevice.hasFlashMenuEntry</h4> |
561 <b>hasFlashMenuEntry</b>(<i></i>) |
474 <b>hasFlashMenuEntry</b>(<i></i>) |
562 <p> |
475 <p> |
563 Public method to check, if the device has its own flash menu entry. |
476 Public method to check, if the device has its own flash menu entry. |
594 <b>setButtons</b>(<i></i>) |
507 <b>setButtons</b>(<i></i>) |
595 <p> |
508 <p> |
596 Public method to enable the supported action buttons. |
509 Public method to enable the supported action buttons. |
597 </p> |
510 </p> |
598 |
511 |
599 <a NAME="STLinkDevice.supportsLocalFileAccess" ID="STLinkDevice.supportsLocalFileAccess"></a> |
|
600 <h4>STLinkDevice.supportsLocalFileAccess</h4> |
|
601 <b>supportsLocalFileAccess</b>(<i></i>) |
|
602 <p> |
|
603 Public method to indicate file access via a local directory. |
|
604 </p> |
|
605 |
|
606 <dl> |
|
607 <dt>Return:</dt> |
|
608 <dd> |
|
609 flag indicating file access via local directory |
|
610 </dd> |
|
611 </dl> |
|
612 <dl> |
|
613 <dt>Return Type:</dt> |
|
614 <dd> |
|
615 bool |
|
616 </dd> |
|
617 </dl> |
|
618 <div align="right"><a href="#top">Up</a></div> |
512 <div align="right"><a href="#top">Up</a></div> |
619 <hr /> |
513 <hr /> |
620 <hr /> |
514 <hr /> |
621 <a NAME="createDevice" ID="createDevice"></a> |
515 <a NAME="createDevice" ID="createDevice"></a> |
622 <h2>createDevice</h2> |
516 <h2>createDevice</h2> |