From 52d53a92ab8ea8e294f57f65348a63cd767cad4c Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Mon, 9 Jan 2017 18:55:56 +0100 Subject: [PATCH] cpu: lpc1768: adapt to periph/pm --- cpu/lpc1768/Makefile.include | 2 ++ cpu/lpc1768/reboot_arch.c | 31 ------------------------------- 2 files changed, 2 insertions(+), 31 deletions(-) delete mode 100644 cpu/lpc1768/reboot_arch.c diff --git a/cpu/lpc1768/Makefile.include b/cpu/lpc1768/Makefile.include index f16ada89b8..bc106da02e 100644 --- a/cpu/lpc1768/Makefile.include +++ b/cpu/lpc1768/Makefile.include @@ -1,3 +1,5 @@ export CPU_ARCH = cortex-m3 +USEMODULE += periph_common + include $(RIOTCPU)/Makefile.include.cortexm_common diff --git a/cpu/lpc1768/reboot_arch.c b/cpu/lpc1768/reboot_arch.c deleted file mode 100644 index 328894375b..0000000000 --- a/cpu/lpc1768/reboot_arch.c +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (C) 2016 Kaspar Schleiser - * 2014 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for more - * details. - */ - -/** - * @ingroup cpu_lpc1768 - * @{ - * - * @file - * @brief Implementation of the kernels reboot interface - * - * @author Oliver Hahm - * @author Hauke Petersen - * @author Kaspar Schleiser - * - * @} - */ - -#include - -#include "cpu.h" - -void reboot(void) -{ - NVIC_SystemReset(); -}