nrf/main: Add ampy support.

The ampy tool expects a "soft reboot" line when it does a soft reset.
This commit is contained in:
Ayke van Laethem 2017-11-20 22:25:01 +01:00 committed by Damien George
parent 2b32333f90
commit 2561bcf0c0

View File

@ -223,6 +223,7 @@ pin_init0();
if (ret_code == PYEXEC_FORCED_EXIT) {
NVIC_SystemReset();
} else {
printf("MPY: soft reboot\n");
goto soft_reset;
}