diff options
Diffstat (limited to 'cc3200/tools/update-wipy.py')
-rw-r--r-- | cc3200/tools/update-wipy.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cc3200/tools/update-wipy.py b/cc3200/tools/update-wipy.py index 857a3d650e..2d5fe57c2f 100644 --- a/cc3200/tools/update-wipy.py +++ b/cc3200/tools/update-wipy.py @@ -90,9 +90,9 @@ def reset_board(args): time.sleep(1) tn.write(b'\r\x02') # ctrl-B: enter friendly REPL if b'Type "help()" for more information.' in tn.read_until(b'Type "help()" for more information.', timeout=5): - tn.write(b"import pyb\r\n") - tn.write(b"pyb.reset()\r\n") - time.sleep(1) + tn.write(b"import machine\r\n") + tn.write(b"machine.reset()\r\n") + time.sleep(2) print("Reset performed") success = True else: |