Module implementing a dialog to flash any UF2 capable device.
SupportedUF2Boards |
UF2FlashDialog | Class implementing a dialog to flash any UF2 capable device. |
getFoundDevices | Function to get the list of known serial devices supporting UF2. |
Class implementing a dialog to flash any UF2 capable device.
DeviceTypeRole |
DeviceVidPidRole |
None |
UF2FlashDialog | Constructor |
__populate | Private method to (re-)populate the dialog. |
__showAllInstructions | Private method to show instructions for resetting devices to bootloader mode. |
__showManualInstructions | Private method to show instructions for flashing devices manually. |
__showMultipleVolumesInformation | Private method to show information because multiple devices of the same type are ready for flashing. |
__showNoVolumeInformation | Private method to show information about the expected boot volume(s). |
__showSpecificInstructions | Private method to show instructions for resetting devices to bootloader mode for a list of detected devices. |
__showTypedInstructions | Private method to show instructions for resetting devices to bootloader mode for a specific board type. |
__updateFlashButton | Private method to update the state of the Flash button and the retest button. |
on_bootPicker_textChanged | Private slot handling a change of the boot volume. |
on_devicesComboBox_currentIndexChanged | Private slot to handle the selection of a board. |
on_firmwarePicker_textChanged | Private slot handling a change of the firmware file. |
on_flashButton_clicked | Private slot to flash the selected MicroPython or CircuitPython firmware onto the device. |
on_refreshButton_clicked | Private slot to refresh the dialog. |
on_searchBootButton_clicked | Private slot to look for all known boot paths and present a list to select from. |
None |
Constructor
Private method to (re-)populate the dialog.
Private method to show instructions for resetting devices to bootloader mode.
Private method to show instructions for flashing devices manually.
Private method to show information because multiple devices of the same type are ready for flashing.
Note: This is a dangerous situation!
Private method to show information about the expected boot volume(s).
Private method to show instructions for resetting devices to bootloader mode for a list of detected devices.
Private method to show instructions for resetting devices to bootloader mode for a specific board type.
Private method to update the state of the Flash button and the retest button.
Private slot handling a change of the boot volume.
Private slot to handle the selection of a board.
Private slot handling a change of the firmware file.
Private slot to flash the selected MicroPython or CircuitPython firmware onto the device.
Private slot to refresh the dialog.
Private slot to look for all known boot paths and present a list to select from.
Function to get the list of known serial devices supporting UF2.