Module implementing some utility functions and the MicroPythonDevice base class.
SupportedBoards |
MicroPythonDevice | Base class for the more specific MicroPython devices. |
getDevice | Public method to instantiate a specific MicroPython device interface. |
getDeviceIcon | Function to get the icon for the given board. |
getFoundDevices | Function to check the serial ports for supported MicroPython devices. |
getSupportedDevices | Function to get a list of supported MicroPython devices. |
Base class for the more specific MicroPython devices.
None |
None |
MicroPythonDevice | Constructor |
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. |
handleDataFlood | Public slot handling a data floof from the device. |
hasDocumentationUrl | Public method to check, if the device has a configured documentation URL. |
hasFirmwareUrl | Public method to check, if the device has a configured firmware download URL. |
hasTimeCommands | Public method to check, if the device supports time commands. |
runScript | Public method to run the given Python script. |
sendCommands | Public method to send a list of commands to the device. |
setButtons | Public method to enable the supported action buttons. |
setFileManager | Public method to set the File Manager status and dependent status. |
setPlotter | Public method to set the Plotter status and dependent status. |
setRepl | Public method to set the REPL status and dependent status. |
supportsLocalFileAccess | Public method to indicate file access via a local directory. |
None |
Constructor
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 slot handling a data floof from the device.
Public method to check, if the device has a configured documentation URL.
Public method to check, if the device has a configured firmware download URL.
Public method to check, if the device supports time commands.
The default returns True.
Public method to run the given Python script.
Public method to send a list of commands to the device.
Public method to enable the supported action buttons.
Public method to set the File Manager status and dependent status.
Public method to set the Plotter status and dependent status.
Public method to set the REPL status and dependent status.
Public method to indicate file access via a local directory.
Public method to instantiate a specific MicroPython device interface.
Function to get the icon for the given board.
Function to check the serial ports for supported MicroPython devices.
Function to get a list of supported MicroPython devices.