547 """ |
547 """ |
548 Private slot to erase the flash of an ESP32 device. |
548 Private slot to erase the flash of an ESP32 device. |
549 """ |
549 """ |
550 from .EspDevices import eraseFlash |
550 from .EspDevices import eraseFlash |
551 |
551 |
552 eraseFlash(self.microPython.getCurrentPort()) |
552 eraseFlash(self.microPython.getCurrentPort(), parent=self.microPython) |
553 |
553 |
554 @pyqtSlot() |
554 @pyqtSlot() |
555 def __esp32FlashPython(self): |
555 def __esp32FlashPython(self): |
556 """ |
556 """ |
557 Private slot to flash a MicroPython or CircuitPython firmware to an ESP32 |
557 Private slot to flash a MicroPython or CircuitPython firmware to an ESP32 |