1
0
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:
Hauke Petersen 2017-08-18 11:11:39 +02:00
parent 1e7d1e2499
commit 5809c1940c
5 changed files with 0 additions and 21 deletions

View File

@ -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)
/** @} */

View File

@ -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)
/** @} */

View File

@ -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
/** @} */

View File

@ -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)
/** @} */

View File

@ -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)
/** @} */