Skip to content

Commit

Permalink
DTR / RST comments
Browse files Browse the repository at this point in the history
  • Loading branch information
aivarannamaa committed Jul 6, 2023
1 parent 53724d4 commit 23b7d46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions thonny/plugins/micropython/serial_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ def __init__(self, port, baudrate=115200, dtr=None, rts=None, skip_reader=False)
# but in some cases it messes up communication.
# At the same time, in some cases it is required
# https://github.com/thonny/thonny/issues/1462
# More information:
# https://github.com/npat-efault/picocom/blob/master/lowerrts.md
# https://github.com/micropython/micropython/pull/11076
if dtr is not None:
logger.debug("Setting DTR to %s", dtr)
self._serial.dtr = dtr
Expand Down

0 comments on commit 23b7d46

Please sign in to comment.