src/eric7/MicroPython/Devices/STLinkDevices.py

branch
eric7
changeset 11006
a671918232f3
parent 10933
95a15b70f7bb
child 11034
7b8a21fd2d58
equal deleted inserted replaced
11005:b918c6c2736b 11006:a671918232f3
381 combinedOutput=True, 381 combinedOutput=True,
382 monospacedFont=Preferences.getEditorOtherFonts( 382 monospacedFont=Preferences.getEditorOtherFonts(
383 "MonospacedFont" 383 "MonospacedFont"
384 ), 384 ),
385 encoding=Preferences.getSystem("IOEncoding"), 385 encoding=Preferences.getSystem("IOEncoding"),
386 parent=self.microPython,
386 ) 387 )
387 res = dlg.startProcess(program, args) 388 res = dlg.startProcess(program, args)
388 if res: 389 if res:
389 dlg.exec() 390 dlg.exec()
390 391
401 dlg = EricProcessDialog( 402 dlg = EricProcessDialog(
402 self.tr("'st-info' Output"), 403 self.tr("'st-info' Output"),
403 self.tr("STLink Device Information"), 404 self.tr("STLink Device Information"),
404 monospacedFont=Preferences.getEditorOtherFonts("MonospacedFont"), 405 monospacedFont=Preferences.getEditorOtherFonts("MonospacedFont"),
405 encoding=Preferences.getSystem("IOEncoding"), 406 encoding=Preferences.getSystem("IOEncoding"),
407 parent=self.microPython,
406 ) 408 )
407 res = dlg.startProcess(program, ["--probe"]) 409 res = dlg.startProcess(program, ["--probe"])
408 if res: 410 if res:
409 dlg.exec() 411 dlg.exec()
410 412

eric ide

mercurial