nrf/main: Add ampy support.
The ampy tool expects a "soft reboot" line when it does a soft reset.
This commit is contained in:
parent
2b32333f90
commit
2561bcf0c0
@ -223,6 +223,7 @@ pin_init0();
|
|||||||
if (ret_code == PYEXEC_FORCED_EXIT) {
|
if (ret_code == PYEXEC_FORCED_EXIT) {
|
||||||
NVIC_SystemReset();
|
NVIC_SystemReset();
|
||||||
} else {
|
} else {
|
||||||
|
printf("MPY: soft reboot\n");
|
||||||
goto soft_reset;
|
goto soft_reset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user