From 889991503eaf2fc7de3950d9706a658406c5163e Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Fri, 14 Aug 2015 13:50:32 +0200 Subject: [PATCH] cpu: saml21: remove obsolete hwtimer support --- cpu/saml21/Makefile.include | 3 --- cpu/saml21/include/hwtimer_cpu.h | 40 -------------------------------- 2 files changed, 43 deletions(-) delete mode 100644 cpu/saml21/include/hwtimer_cpu.h diff --git a/cpu/saml21/Makefile.include b/cpu/saml21/Makefile.include index 8967988c8..52622dfc0 100644 --- a/cpu/saml21/Makefile.include +++ b/cpu/saml21/Makefile.include @@ -3,9 +3,6 @@ export CPU_ARCH = cortex-m0plus # this CPU implementation doesn't use CMSIS initialisation export CFLAGS += -DDONT_USE_CMSIS_INIT -# use the hwtimer compatibility module -USEMODULE += hwtimer_compat - # use common periph functions USEMODULE += periph_common diff --git a/cpu/saml21/include/hwtimer_cpu.h b/cpu/saml21/include/hwtimer_cpu.h deleted file mode 100644 index 366996e90..000000000 --- a/cpu/saml21/include/hwtimer_cpu.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 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_saml21 - * @{ - * - * @file - * @brief CPU specific hwtimer configuration options - * - * @author Thomas Eichinger - */ - -#ifndef __HWTIMER_CPU_H -#define __HWTIMER_CPU_H - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @name Hardware timer configuration - * @{ - */ -#define HWTIMER_MAXTIMERS 1 /**< the CPU implementation supports 1 HW timer */ -#define HWTIMER_SPEED (1000000U) /**< the HW timer runs with 1MHz */ -#define HWTIMER_MAXTICKS (0xFFFFFFFF) /**< 32-bit timer */ -/** @} */ - -#ifdef __cplusplus -} -#endif - -#endif /* __HWTIMER_CPU_H */ -/** @} */