eric6/MicroPython/EspDevices.py

changeset 8096
5425a9072300
parent 7923
91e843545d9a
child 8117
aaa5e0eacd4e
equal deleted inserted replaced
8095:d8caff84ffcf 8096:5425a9072300
153 act.setEnabled(not connected) 153 act.setEnabled(not connected)
154 menu.addSeparator() 154 menu.addSeparator()
155 act = menu.addAction(self.tr("Reset Device"), self.__resetDevice) 155 act = menu.addAction(self.tr("Reset Device"), self.__resetDevice)
156 menu.addSeparator() 156 menu.addSeparator()
157 menu.addAction(self.tr("Install 'esptool.py'"), self.__installEspTool) 157 menu.addAction(self.tr("Install 'esptool.py'"), self.__installEspTool)
158
159 def hasFlashMenuEntry(self):
160 """
161 Public method to check, if the device has its own flash menu entry.
162
163 @return flag indicating a specific flash menu entry
164 @rtype bool
165 """
166 return True
158 167
159 @pyqtSlot() 168 @pyqtSlot()
160 def __eraseFlash(self): 169 def __eraseFlash(self):
161 """ 170 """
162 Private slot to erase the device flash memory. 171 Private slot to erase the device flash memory.

eric ide

mercurial