eric6/MicroPython/EspFirmwareSelectionDialog.py

changeset 8234
fcb6b4b96274
parent 8218
7c09585bd960
equal deleted inserted replaced
8233:bad78a592cc2 8234:fcb6b4b96274
110 @return tuple containing the selected chip type, the path of the 110 @return tuple containing the selected chip type, the path of the
111 firmware file, the baud rate, the flash mode and the flash 111 firmware file, the baud rate, the flash mode and the flash
112 address 112 address
113 @rtype tuple of (str, str, str, str, str) 113 @rtype tuple of (str, str, str, str, str)
114 """ 114 """
115 if self.__addon: 115 address = self.addressEdit.text() if self.__addon else ""
116 address = self.addressEdit.text()
117 else:
118 address = ""
119 116
120 return ( 117 return (
121 self.espComboBox.currentText().lower(), 118 self.espComboBox.currentText().lower(),
122 self.firmwarePicker.text(), 119 self.firmwarePicker.text(),
123 self.baudRateComboBox.currentText().replace(".", ""), 120 self.baudRateComboBox.currentText().replace(".", ""),

eric ide

mercurial