mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 05:04:33 +02:00
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:
@@ -57,6 +57,8 @@ class SerialReader(Reader):
|
|||||||
|
|
||||||
# Add a delay to meet the requirements of minimal EN low time (2ms for ESP32-C3)
|
# Add a delay to meet the requirements of minimal EN low time (2ms for ESP32-C3)
|
||||||
time.sleep(MINIMAL_EN_LOW_DELAY)
|
time.sleep(MINIMAL_EN_LOW_DELAY)
|
||||||
|
elif not self.reset:
|
||||||
|
self.serial.setDTR(high) # IO0=HIGH, default state
|
||||||
self.gdb_exit = False
|
self.gdb_exit = False
|
||||||
self.serial.rts = high # Set rts/dtr to the working state
|
self.serial.rts = high # Set rts/dtr to the working state
|
||||||
self.serial.dtr = self.serial.dtr # usbser.sys workaround
|
self.serial.dtr = self.serial.dtr # usbser.sys workaround
|
||||||
|
Reference in New Issue
Block a user