kopia lustrzana https://github.com/micropython/micropython
tools/pyboard.py: Fix RTS esp32 lockups.
Signed-off-by: gitcnd <cnd@geek.net.au>pull/13455/head
rodzic
075e255dbd
commit
bf57f9eeb5
|
@ -307,7 +307,7 @@ class Pyboard:
|
||||||
self.serial.rts = False # RTS False = EN High = MCU enabled
|
self.serial.rts = False # RTS False = EN High = MCU enabled
|
||||||
self.serial.open()
|
self.serial.open()
|
||||||
else:
|
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 = serial.Serial()
|
||||||
self.serial.dtr = False # DTR False = gpio0 High = Normal boot
|
self.serial.dtr = False # DTR False = gpio0 High = Normal boot
|
||||||
self.serial.rts = False # RTS False = EN High = MCU enabled
|
self.serial.rts = False # RTS False = EN High = MCU enabled
|
||||||
|
|
Ładowanie…
Reference in New Issue