Skip to content

Commit

Permalink
boards: Update XTIMER_SHIFT and XTIMER_HZ configurations to match xti…
Browse files Browse the repository at this point in the history
…mer changes
  • Loading branch information
Joakim Nohlgård committed Nov 28, 2016
1 parent 8217e49 commit 24b41dc
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions boards/arduino-common/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ extern "C" {
*/
#define XTIMER_WIDTH (16)
#define XTIMER_SHIFT (2)
#define XTIMER_HZ (250000UL)
#define XTIMER_BACKOFF (40)
/** @} */

Expand Down
1 change: 1 addition & 0 deletions boards/arduino-mega2560/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ extern "C" {
*/
#define XTIMER_WIDTH (16)
#define XTIMER_SHIFT (2)
#define XTIMER_HZ (250000UL)
#define XTIMER_BACKOFF (40)
/** @} */

Expand Down
2 changes: 2 additions & 0 deletions boards/cc2538dk/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ extern "C" {
#define XTIMER_DEV (0)
#define XTIMER_CHAN (0)
#define XTIMER_WIDTH (16)
#define XTIMER_SHIFT (4)
#define XTIMER_HZ (16000000UL)
#define XTIMER_BACKOFF (50)
#define XTIMER_ISR_BACKOFF (40)
/** @} */
Expand Down
2 changes: 2 additions & 0 deletions boards/openmote-cc2538/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
#define XTIMER_DEV (0)
#define XTIMER_CHAN (0)
#define XTIMER_WIDTH (16)
#define XTIMER_SHIFT (4)
#define XTIMER_HZ (16000000UL)
#define XTIMER_BACKOFF (50)
#define XTIMER_ISR_BACKOFF (40)
/** @} */
Expand Down
2 changes: 2 additions & 0 deletions boards/remote-common/include/board_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@
#define XTIMER_DEV (0)
#define XTIMER_CHAN (0)
#define XTIMER_WIDTH (16)
#define XTIMER_SHIFT (4)
#define XTIMER_HZ (16000000UL)
#define XTIMER_BACKOFF (50)
#define XTIMER_ISR_BACKOFF (40)
/** @} */
Expand Down
2 changes: 1 addition & 1 deletion boards/waspmote-pro/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ extern "C" {
*/
#define XTIMER_WIDTH (16)
#define XTIMER_SHIFT (4)
#define XTIMER_HZ (62500UL)
#define XTIMER_BACKOFF (40)
#define XTIMER_TICKS_INIT (921600ul)
/** @} */

/**
Expand Down

0 comments on commit 24b41dc

Please sign in to comment.