mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 12:40:15 +01:00
nrf/main: Add ampy support.
The ampy tool expects a "soft reboot" line when it does a soft reset.
This commit is contained in:
committed by
Damien George
parent
2b32333f90
commit
2561bcf0c0
@@ -223,6 +223,7 @@ pin_init0();
|
||||
if (ret_code == PYEXEC_FORCED_EXIT) {
|
||||
NVIC_SystemReset();
|
||||
} else {
|
||||
printf("MPY: soft reboot\n");
|
||||
goto soft_reset;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user