diff --git a/src/sam3x8e/main.c b/src/sam3x8e/main.c index 2ad907c9..a7e7ee55 100644 --- a/src/sam3x8e/main.c +++ b/src/sam3x8e/main.c @@ -36,6 +36,13 @@ DECL_INIT(watchdog_init); * misc functions ****************************************************************/ +void +command_reset(uint32_t *args) +{ + NVIC_SystemReset(); +} +DECL_COMMAND_FLAGS(command_reset, HF_IN_SHUTDOWN, "reset"); + size_t alloc_maxsize(size_t reqsize) {