We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f85d62 commit 1f740bdCopy full SHA for 1f740bd
1 file changed
tools/pyboard.py
@@ -50,6 +50,7 @@ def read_until(self, min_num_bytes, ending, timeout=10):
50
return data
51
52
def enter_raw_repl(self):
53
+ self.serial.write(b'\r\x03') # ctrl-C: interrupt any running program
54
self.serial.write(b'\r\x01') # ctrl-A: enter raw REPL
55
self.serial.write(b'\x04') # ctrl-D: soft reset
56
data = self.read_until(1, b'to exit\r\n>')
0 commit comments