diff options
| author | Ayke van Laethem | 2017-11-20 22:25:01 +0100 |
|---|---|---|
| committer | Damien George | 2018-07-18 17:12:25 +1000 |
| commit | 2561bcf0c04a4dda97c6af925a1b023586b5ac32 (patch) | |
| tree | 89816c88ace1b23fadb57097920a632c1ef4be9f /ports/nrf/main.c | |
| parent | 2b32333f9060693d29cb4ff911e8c2dca9d40359 (diff) | |
nrf/main: Add ampy support.
The ampy tool expects a "soft reboot" line when it does a soft reset.
Diffstat (limited to 'ports/nrf/main.c')
| -rw-r--r-- | ports/nrf/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/nrf/main.c b/ports/nrf/main.c index 5ea03a2a2..d3c72ede8 100644 --- a/ports/nrf/main.c +++ b/ports/nrf/main.c @@ -223,6 +223,7 @@ pin_init0(); if (ret_code == PYEXEC_FORCED_EXIT) { NVIC_SystemReset(); } else { + printf("MPY: soft reboot\n"); goto soft_reset; } |
