cpu: atmega2560: drop obsolete hwtimer support
This commit is contained in:
parent
e9301e236d
commit
d82ca16b5a
@ -4,9 +4,6 @@ export CFLAGS += -DCOREIF_NG=1
|
|||||||
# tell the build system that the CPU depends on the atmega common files
|
# tell the build system that the CPU depends on the atmega common files
|
||||||
USEMODULE += atmega_common
|
USEMODULE += atmega_common
|
||||||
|
|
||||||
# use hwtimer compatibility module
|
|
||||||
USEMODULE += hwtimer_compat
|
|
||||||
|
|
||||||
# export the peripheral drivers to be linked into the final binary
|
# export the peripheral drivers to be linked into the final binary
|
||||||
export USEMODULE += periph
|
export USEMODULE += periph
|
||||||
|
|
||||||
|
|||||||
@ -1,40 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (C) 2014 Freie Universität Berlin, Hinnerk van Bruinehsen
|
|
||||||
*
|
|
||||||
* 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_atmega2560
|
|
||||||
* @{
|
|
||||||
*
|
|
||||||
* @file
|
|
||||||
* @brief CPU specific hwtimer configuration options
|
|
||||||
*
|
|
||||||
* @author Hinnerk van Bruinehsen <h.v.bruinehsen@fu-berlin.de>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __HWTIMER_CPU_H
|
|
||||||
#define __HWTIMER_CPU_H
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Hardware timer configuration
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
#define HWTIMER_MAXTIMERS 3 /**< the CPU implementation supports 3 HW timers */
|
|
||||||
#define HWTIMER_SPEED 1000000 /**< the HW timer runs with 1MHz */
|
|
||||||
#define HWTIMER_MAXTICKS (0xFFFF) /**< 16-bit timer */
|
|
||||||
/** @} */
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* __HWTIMER_CPU_H */
|
|
||||||
/** @} */
|
|
||||||
Loading…
x
Reference in New Issue
Block a user