1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards: fixed xtimer defines for nrf24 based boards

This commit is contained in:
Hauke Petersen 2015-09-15 15:04:25 +02:00 committed by Kaspar Schleiser
parent cb253da235
commit e98a22619a
4 changed files with 41 additions and 17 deletions

View File

@ -32,6 +32,17 @@
*/
#define F_CPU (16000000UL)
/**
* @brief Xtimer configuration
* @{
*/
#define XTIMER (0)
#define XTIMER_CHAN (0)
#define XTIMER_MASK (0xff000000)
#define XTIMER_SHIFT_ON_COMPARE (2)
#define XTIMER_BACKOFF (40)
/** @} */
/**
* @name Define the boards stdio
* @{
@ -41,11 +52,6 @@
#define STDIO_RX_BUFSIZE (64U)
/** @} */
/**
* @name Assign the hardware timer
*/
#define HW_TIMER TIMER_0
/**
* @name Macros for controlling the on-board LEDs.
* @{

View File

@ -34,9 +34,15 @@ extern "C" {
#define F_CPU (16000000UL)
/**
* @brief Assign the hardware timer
* @brief Xtimer configuration
* @{
*/
#define HW_TIMER TIMER_0
#define XTIMER (0)
#define XTIMER_CHAN (0)
#define XTIMER_MASK (0xff000000)
#define XTIMER_SHIFT_ON_COMPARE (2)
#define XTIMER_BACKOFF (40)
/** @} */
/**
* @name Define the boards stdio

View File

@ -33,6 +33,17 @@ extern "C" {
*/
#define F_CPU (16000000UL)
/**
* @brief Xtimer configuration
* @{
*/
#define XTIMER (0)
#define XTIMER_CHAN (0)
#define XTIMER_MASK (0xff000000)
#define XTIMER_SHIFT_ON_COMPARE (2)
#define XTIMER_BACKOFF (40)
/** @} */
/**
* @name Define the boards stdio
* @{
@ -42,11 +53,6 @@ extern "C" {
#define STDIO_RX_BUFSIZE (64U)
/** @} */
/**
* @name Assign the hardware timer
*/
#define HW_TIMER TIMER_0
/**
* @name Macros for controlling the on-board LEDs.
* @{

View File

@ -32,6 +32,17 @@ extern "C" {
*/
#define F_CPU (16000000UL)
/**
* @brief Xtimer configuration
* @{
*/
#define XTIMER (0)
#define XTIMER_CHAN (0)
#define XTIMER_MASK (0xff000000)
#define XTIMER_SHIFT_ON_COMPARE (2)
#define XTIMER_BACKOFF (40)
/** @} */
/**
* @name Define the boards stdio
* @{
@ -41,11 +52,6 @@ extern "C" {
#define STDIO_RX_BUFSIZE (64U)
/** @} */
/**
* @name Assign the hardware timer
*/
#define HW_TIMER TIMER_0
/**
* @name Macros for controlling the on-board LEDs.
* @{