diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-09-18 11:26:27 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-09-18 11:59:43 -0400 |
commit | 1c6a8267f9514ee5d02948719acab7bae4407311 (patch) | |
tree | 63c1f913fc5cf9694375c42c13a367976961bcf5 /src/lpc176x/main.c | |
parent | 80e17b1e53801b13ec47a1fd8038641aa4be2e1d (diff) | |
download | kutter-1c6a8267f9514ee5d02948719acab7bae4407311.tar.gz kutter-1c6a8267f9514ee5d02948719acab7bae4407311.tar.xz kutter-1c6a8267f9514ee5d02948719acab7bae4407311.zip |
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 <kevin@koconnor.net>
Diffstat (limited to 'src/lpc176x/main.c')
-rw-r--r-- | src/lpc176x/main.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lpc176x/main.c b/src/lpc176x/main.c index 62c5c207..7fddde5a 100644 --- a/src/lpc176x/main.c +++ b/src/lpc176x/main.c @@ -60,13 +60,6 @@ enable_pclock(uint32_t pclk) } } -void -command_reset(uint32_t *args) -{ - NVIC_SystemReset(); -} -DECL_COMMAND_FLAGS(command_reset, HF_IN_SHUTDOWN, "reset"); - // Main entry point int main(void) |