eric6/MicroPython/PyBoardDevices.py

changeset 8143
2c730d5fd177
parent 8117
aaa5e0eacd4e
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
379 program = Preferences.getMicroPython("DfuUtilPath") 379 program = Preferences.getMicroPython("DfuUtilPath")
380 if not program: 380 if not program:
381 program = "dfu-util" 381 program = "dfu-util"
382 382
383 downloadsPath = QStandardPaths.standardLocations( 383 downloadsPath = QStandardPaths.standardLocations(
384 QStandardPaths.DownloadLocation)[0] 384 QStandardPaths.StandardLocation.DownloadLocation)[0]
385 firmware = E5FileDialog.getOpenFileName( 385 firmware = E5FileDialog.getOpenFileName(
386 self.microPython, 386 self.microPython,
387 self.tr("Flash MicroPython Firmware"), 387 self.tr("Flash MicroPython Firmware"),
388 downloadsPath, 388 downloadsPath,
389 self.tr( 389 self.tr(

eric ide

mercurial