From 1c6a8267f9514ee5d02948719acab7bae4407311 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 18 Sep 2019 11:26:27 -0400 Subject: armcm_reset: Add a new helper file defining command_reset() Add a generic ARM Cortex-M implementation of the "reset" command. Signed-off-by: Kevin O'Connor --- src/stm32/main.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/stm32/main.c') diff --git a/src/stm32/main.c b/src/stm32/main.c index 6d9290fd..56da9718 100644 --- a/src/stm32/main.c +++ b/src/stm32/main.c @@ -11,13 +11,6 @@ DECL_CONSTANT_STR("MCU", CONFIG_MCU); -void -command_reset(uint32_t *args) -{ - NVIC_SystemReset(); -} -DECL_COMMAND_FLAGS(command_reset, HF_IN_SHUTDOWN, "reset"); - // Main entry point int main(void) -- cgit v1.2.3-70-g09d2