src/eric7/MicroPython/Devices/STLinkDevices.py

branch
eric7
changeset 10069
435cc5875135
parent 9989
286c2a21f36f
child 10439
21c28b0f9e41
equal deleted inserted replaced
10068:7febcdccb2a1 10069:435cc5875135
472 self.executeCommands( 472 self.executeCommands(
473 "import machine\nmachine.reset()\n", mode=self._submitMode 473 "import machine\nmachine.reset()\n", mode=self._submitMode
474 ) 474 )
475 475
476 476
477 def createDevice(microPythonWidget, deviceType, vid, pid, boardName, serialNumber): 477 def createDevice(
478 microPythonWidget, deviceType, vid, pid, boardName, serialNumber # noqa: U100
479 ):
478 """ 480 """
479 Function to instantiate a MicroPython device object. 481 Function to instantiate a MicroPython device object.
480 482
481 @param microPythonWidget reference to the main MicroPython widget 483 @param microPythonWidget reference to the main MicroPython widget
482 @type MicroPythonWidget 484 @type MicroPythonWidget

eric ide

mercurial