Merge branch 'contrib/github_pr_8955' into 'master'

Tools: fix idf.py monitor reset with hotkey with --no-reset arg (GitHub PR)

Closes IDFGH-7375

See merge request espressif/esp-idf!18118
This commit is contained in:
Roland Dobai
2022-05-16 21:50:16 +08:00

View File

@@ -57,6 +57,8 @@ class SerialReader(Reader):
# Add a delay to meet the requirements of minimal EN low time (2ms for ESP32-C3)
time.sleep(MINIMAL_EN_LOW_DELAY)
elif not self.reset:
self.serial.setDTR(high) # IO0=HIGH, default state
self.gdb_exit = False
self.serial.rts = high # Set rts/dtr to the working state
self.serial.dtr = self.serial.dtr # usbser.sys workaround