Module implementing the device interface class for PyBoard boards.
None |
PyBoardDevice | Class implementing the device for PyBoard boards. |
None |
Class implementing the device for PyBoard boards.
DeviceVolumeName |
FlashInstructionsURL |
None |
PyBoardDevice | Constructor |
__deviceVolumeMounted | Private method to check, if the device volume is mounted. |
__dfuUtilAvailable | Private method to check the availability of dfu-util. |
__flashMicroPython | Private slot to flash a MicroPython firmware. |
__listDfuCapableDevices | Private slot to list all DFU-capable devices. |
__showDfuDisableInstructions | Private method to show some instructions to disable the DFU mode. |
__showDfuEnableInstructions | Private method to show some instructions to enable the DFU mode. |
__showFlashInstructions | Private slot to open the URL containing instructions for installing MicroPython on the pyboard. |
addDeviceMenuEntries | Public method to add device specific entries to the given menu. |
canRunScript | Public method to determine, if a script can be executed. |
canStartFileManager | Public method to determine, if a File Manager can be started. |
canStartPlotter | Public method to determine, if a Plotter can be started. |
canStartRepl | Public method to determine, if a REPL can be started. |
deviceName | Public method to get the name of the device. |
forceInterrupt | Public method to determine the need for an interrupt when opening the serial connection. |
getDocumentationUrl | Public method to get the device documentation URL. |
getFirmwareUrl | Public method to get the device firmware download URL. |
getWorkspace | Public method to get the workspace directory. |
runScript | Public method to run the given Python script. |
setButtons | Public method to enable the supported action buttons. |
supportsLocalFileAccess | Public method to indicate file access via a local directory. |
None |
Constructor
Private method to check, if the device volume is mounted.
Private method to check the availability of dfu-util.
Private slot to flash a MicroPython firmware.
Private slot to list all DFU-capable devices.
Private method to show some instructions to disable the DFU mode.
Private method to show some instructions to enable the DFU mode.
Private slot to open the URL containing instructions for installing MicroPython on the pyboard.
Public method to add device specific entries to the given menu.
Public method to determine, if a script can be executed.
Public method to determine, if a File Manager can be started.
Public method to determine, if a Plotter can be started.
Public method to determine, if a REPL can be started.
Public method to get the name of the device.
Public method to determine the need for an interrupt when opening the serial connection.
Public method to get the device documentation URL.
Public method to get the device firmware download URL.
Public method to get the workspace directory.
Public method to run the given Python script.
Public method to enable the supported action buttons.
Public method to indicate file access via a local directory.