Module implementing the device interface class for RP2040 based boards (e.g. Raspberry Pi Pico).
None |
RP2040Device | Class implementing the device for RP2040 based boards. |
None |
Class implementing the device for RP2040 based boards.
None |
None |
RP2040Device | Constructor |
__activateBootloader | Private method to switch the board into 'bootloader' mode. |
__flashPython | Private slot to flash a MicroPython firmware to the device. |
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. |
getDownloadMenuEntries | Public method to retrieve the entries for the downloads menu. |
hasFlashMenuEntry | Public method to check, if the device has its own flash menu entry. |
runScript | Public method to run the given Python script. |
setButtons | Public method to enable the supported action buttons. |
None |
Constructor
Private method to switch the board into 'bootloader' mode.
Private slot to flash a MicroPython firmware to the device.
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 retrieve the entries for the downloads menu.
Public method to check, if the device has its own flash menu entry.
Public method to run the given Python script.
Public method to enable the supported action buttons.