cpu: native: remove hwtimer_compat dependency
This commit is contained in:
parent
cd715fedf6
commit
fb773bf90a
@ -5,4 +5,4 @@ ifeq ($(BUILDOSXNATIVE),1)
|
|||||||
export NATIVEINCLUDES += -I$(RIOTBASE)/sys/malloc/include
|
export NATIVEINCLUDES += -I$(RIOTBASE)/sys/malloc/include
|
||||||
endif
|
endif
|
||||||
|
|
||||||
export USEMODULE += periph hwtimer_compat
|
export USEMODULE += periph
|
||||||
|
|||||||
@ -1,35 +0,0 @@
|
|||||||
/**
|
|
||||||
* Native CPU hwtimer_cpu configuration
|
|
||||||
*
|
|
||||||
* Copyright (C) 2013 Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
|
|
||||||
*
|
|
||||||
* 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 native_hwtimer
|
|
||||||
* @file
|
|
||||||
* @author Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "periph_conf.h"
|
|
||||||
|
|
||||||
#ifndef HWTIMER_CPU_H_
|
|
||||||
#define HWTIMER_CPU_H_
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define HWTIMER_MAXTIMERS 1
|
|
||||||
#define HWTIMER_SPEED 1000000
|
|
||||||
#define HWTIMER_MAXTICKS (0xFFFFFFFF)
|
|
||||||
#define HWTIMER_SPIN_BARRIER NATIVE_TIMER_MIN_RES
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* HWTIMER_CPU_H_ */
|
|
||||||
Loading…
x
Reference in New Issue
Block a user