eric6/MicroPython/EspDevices.py

branch
micropython
changeset 7115
fe89c98430b6
parent 7114
f416440c8be1
child 7125
2028553ee58c
equal deleted inserted replaced
7114:f416440c8be1 7115:fe89c98430b6
153 153
154 @pyqtSlot() 154 @pyqtSlot()
155 def __flashMicroPython(self): 155 def __flashMicroPython(self):
156 """ 156 """
157 Private slot to flash a MicroPython firmware to the device. 157 Private slot to flash a MicroPython firmware to the device.
158
159 @exception ValueError raised to indicate an unsupported chip type
158 """ 160 """
159 from .EspFirmwareSelectionDialog import EspFirmwareSelectionDialog 161 from .EspFirmwareSelectionDialog import EspFirmwareSelectionDialog
160 dlg = EspFirmwareSelectionDialog() 162 dlg = EspFirmwareSelectionDialog()
161 if dlg.exec_() == QDialog.Accepted: 163 if dlg.exec_() == QDialog.Accepted:
162 chip, firmware, _ = dlg.getData() 164 chip, firmware, _ = dlg.getData()

eric ide

mercurial