mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
boards: don't redefine xtimer default values
This commit is contained in:
parent
1e7d1e2499
commit
5809c1940c
@ -76,11 +76,7 @@ extern "C" {
|
||||
* @name xtimer configuration
|
||||
* @{
|
||||
*/
|
||||
#define XTIMER_DEV (0)
|
||||
#define XTIMER_CHAN (0)
|
||||
#define XTIMER_WIDTH (16)
|
||||
#define XTIMER_SHIFT (0)
|
||||
#define XTIMER_HZ (1000000UL)
|
||||
#define XTIMER_BACKOFF (50)
|
||||
#define XTIMER_ISR_BACKOFF (40)
|
||||
/** @} */
|
||||
|
@ -32,11 +32,7 @@ extern "C" {
|
||||
* @name xtimer configuration
|
||||
* @{
|
||||
*/
|
||||
#define XTIMER_DEV (0)
|
||||
#define XTIMER_CHAN (0)
|
||||
#define XTIMER_WIDTH (16)
|
||||
#define XTIMER_SHIFT (0)
|
||||
#define XTIMER_HZ (1000000UL)
|
||||
#define XTIMER_BACKOFF (50)
|
||||
#define XTIMER_ISR_BACKOFF (40)
|
||||
/** @} */
|
||||
|
@ -47,24 +47,19 @@
|
||||
/* LPTMR xtimer configuration */
|
||||
/* WIP, Use PIT for now */
|
||||
#define XTIMER_DEV (TIMER_LPTMR_DEV(0))
|
||||
#define XTIMER_CHAN (0)
|
||||
/* LPTMR is 16 bits wide */
|
||||
#define XTIMER_WIDTH (16)
|
||||
#define XTIMER_BACKOFF (4)
|
||||
#define XTIMER_ISR_BACKOFF (4)
|
||||
#define XTIMER_OVERHEAD (3)
|
||||
#define XTIMER_HZ (32768ul)
|
||||
#define XTIMER_SHIFT (0)
|
||||
#else
|
||||
/* PIT xtimer configuration */
|
||||
#define XTIMER_DEV (TIMER_PIT_DEV(0))
|
||||
#define XTIMER_CHAN (0)
|
||||
#define XTIMER_WIDTH (32)
|
||||
#define XTIMER_BACKOFF (40)
|
||||
#define XTIMER_ISR_BACKOFF (40)
|
||||
#define XTIMER_OVERHEAD (30)
|
||||
#define XTIMER_HZ (1000000ul)
|
||||
#define XTIMER_SHIFT (0)
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
|
@ -64,11 +64,7 @@
|
||||
* @name xtimer configuration
|
||||
* @{
|
||||
*/
|
||||
#define XTIMER_DEV (0)
|
||||
#define XTIMER_CHAN (0)
|
||||
#define XTIMER_WIDTH (16)
|
||||
#define XTIMER_SHIFT (0)
|
||||
#define XTIMER_HZ (1000000UL)
|
||||
#define XTIMER_BACKOFF (50)
|
||||
#define XTIMER_ISR_BACKOFF (40)
|
||||
/** @} */
|
||||
|
@ -77,11 +77,7 @@
|
||||
* @name xtimer configuration
|
||||
* @{
|
||||
*/
|
||||
#define XTIMER_DEV (0)
|
||||
#define XTIMER_CHAN (0)
|
||||
#define XTIMER_WIDTH (16)
|
||||
#define XTIMER_SHIFT (0)
|
||||
#define XTIMER_HZ (1000000UL)
|
||||
#define XTIMER_BACKOFF (50)
|
||||
#define XTIMER_ISR_BACKOFF (40)
|
||||
/** @} */
|
||||
|
Loading…
Reference in New Issue
Block a user