From a3e11cad9385a650de7fd63840a39ddb73a89d24 Mon Sep 17 00:00:00 2001 From: Hauke Petersen <hauke.petersen@fu-berlin.de> Date: Fri, 4 Sep 2015 14:39:35 +0200 Subject: [PATCH] boards: s/TIMER_DEV/TIMER_BASE/ for msp430 boards --- boards/chronos/include/periph_conf.h | 3 ++- boards/msb-430/include/periph_conf.h | 3 ++- boards/msb-430h/include/periph_conf.h | 3 ++- boards/telosb/include/periph_conf.h | 3 ++- boards/wsn430-common/include/periph_conf.h | 3 ++- boards/z1/include/periph_conf.h | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/boards/chronos/include/periph_conf.h b/boards/chronos/include/periph_conf.h index 4590bf63b6..3d94c15d19 100644 --- a/boards/chronos/include/periph_conf.h +++ b/boards/chronos/include/periph_conf.h @@ -39,7 +39,8 @@ extern "C" { * @brief Timer configuration * @{ */ -#define TIMER_DEV (TIMER_A0) +#define TIMER_NUMOF (1U) +#define TIMER_BASE (TIMER_A0) #define TIMER_CHAN (5) #define TIMER_ISR_CC0 (TIMER0_A0_VECTOR) #define TIMER_ISR_CCX (TIMER0_A1_VECTOR) diff --git a/boards/msb-430/include/periph_conf.h b/boards/msb-430/include/periph_conf.h index 695cbc40db..8a94496653 100644 --- a/boards/msb-430/include/periph_conf.h +++ b/boards/msb-430/include/periph_conf.h @@ -39,7 +39,8 @@ extern "C" { * @brief Timer configuration * @{ */ -#define TIMER_DEV (TIMER_A) +#define TIMER_NUMOF (1U) +#define TIMER_BASE (TIMER_A) #define TIMER_CHAN (3) #define TIMER_ISR_CC0 (TIMERA0_VECTOR) #define TIMER_ISR_CCX (TIMERA1_VECTOR) diff --git a/boards/msb-430h/include/periph_conf.h b/boards/msb-430h/include/periph_conf.h index 7ea7c4d2d2..c323138611 100644 --- a/boards/msb-430h/include/periph_conf.h +++ b/boards/msb-430h/include/periph_conf.h @@ -41,7 +41,8 @@ extern "C" { * @brief Timer configuration * @{ */ -#define TIMER_DEV (TIMER_A) +#define TIMER_NUMOF (1U) +#define TIMER_BASE (TIMER_A) #define TIMER_CHAN (3) #define TIMER_ISR_CC0 (TIMERA0_VECTOR) #define TIMER_ISR_CCX (TIMERA1_VECTOR) diff --git a/boards/telosb/include/periph_conf.h b/boards/telosb/include/periph_conf.h index c1ad58a053..383daef3ca 100644 --- a/boards/telosb/include/periph_conf.h +++ b/boards/telosb/include/periph_conf.h @@ -39,7 +39,8 @@ extern "C" { * @brief Timer configuration * @{ */ -#define TIMER_DEV (TIMER_A) +#define TIMER_NUMOF (1U) +#define TIMER_BASE (TIMER_A) #define TIMER_CHAN (3) #define TIMER_ISR_CC0 (TIMERA0_VECTOR) #define TIMER_ISR_CCX (TIMERA1_VECTOR) diff --git a/boards/wsn430-common/include/periph_conf.h b/boards/wsn430-common/include/periph_conf.h index 0ab7a6a720..c08015f686 100644 --- a/boards/wsn430-common/include/periph_conf.h +++ b/boards/wsn430-common/include/periph_conf.h @@ -39,7 +39,8 @@ extern "C" { * @brief Timer configuration * @{ */ -#define TIMER_DEV (TIMER_A) +#define TIMER_NUMOF (1U) +#define TIMER_BASE (TIMER_A) #define TIMER_CHAN (3) #define TIMER_ISR_CC0 (TIMERA0_VECTOR) #define TIMER_ISR_CCX (TIMERA1_VECTOR) diff --git a/boards/z1/include/periph_conf.h b/boards/z1/include/periph_conf.h index 1ef7ee6f1a..4b9c85c4df 100644 --- a/boards/z1/include/periph_conf.h +++ b/boards/z1/include/periph_conf.h @@ -39,7 +39,8 @@ extern "C" { * @brief Timer configuration * @{ */ -#define TIMER_DEV (TIMER_A) +#define TIMER_NUMOF (1U) +#define TIMER_BASE (TIMER_A) #define TIMER_CHAN (3) #define TIMER_ISR_CC0 (TIMERA0_VECTOR) #define TIMER_ISR_CCX (TIMERA1_VECTOR) -- GitLab