--- a/eric7/MicroPython/EspFirmwareSelectionDialog.py Tue Feb 08 16:22:59 2022 +0100 +++ b/eric7/MicroPython/EspFirmwareSelectionDialog.py Sat Feb 12 13:02:35 2022 +0100 @@ -46,7 +46,7 @@ "esp32": "0x1000", "esp32c3": "0x0000", "esp32s2": "0x1000", - "esp32s3": "0x1000", + "esp32s3": "0x0000", } def __init__(self, addon=False, parent=None): @@ -72,14 +72,14 @@ self.baudRateComboBox.addItems([ "74.880", "115.200", "230.400", "460.800", "921.600", "1.500.000"]) - self.baudRateComboBox.setCurrentIndex(1) + self.baudRateComboBox.setCurrentIndex(3) for text, mode in self.FlashModes: self.modeComboBox.addItem(text, mode) if addon: self.__validator = QRegularExpressionValidator( - QRegularExpression(r"[0-9a-fA-F]{0,4}") + QRegularExpression(r"[0-9a-fA-F]{0,7}") ) self.addressEdit.setValidator(self.__validator) else: @@ -121,6 +121,16 @@ """ self.__updateOkButton() + @pyqtSlot(str) + def on_addressEdit_textChanged(self, address): + """ + Private slot handling a change of the address. + + @param address entered address + @type str + """ + self.__updateOkButton() + def getData(self): """ Public method to get the entered data.