tools/pyboard.py: Fix RTS esp32 lockups.

Signed-off-by: gitcnd <cnd@geek.net.au>
pull/13455/head
gitcnd 2024-01-17 14:54:00 +00:00
rodzic 075e255dbd
commit bf57f9eeb5
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -307,7 +307,7 @@ class Pyboard:
self.serial.rts = False # RTS False = EN High = MCU enabled
self.serial.open()
else:
# Must not put device in .Serial(), else RTS line locks up ESP8266/ESP32
# Must not put device in .Serial(), else RTS line locks up ESP8266/ESP32
self.serial = serial.Serial()
self.serial.dtr = False # DTR False = gpio0 High = Normal boot
self.serial.rts = False # RTS False = EN High = MCU enabled