From 24b41dc633804ee9eeb63a5d201cf137e15e9c49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= <joakim.nohlgard@eistec.se>
Date: Tue, 5 Jul 2016 21:04:58 +0200
Subject: [PATCH] boards: Update XTIMER_SHIFT and XTIMER_HZ configurations to
 match xtimer changes

---
 boards/arduino-common/include/board.h       | 1 +
 boards/arduino-mega2560/include/board.h     | 1 +
 boards/cc2538dk/include/board.h             | 2 ++
 boards/openmote-cc2538/include/board.h      | 2 ++
 boards/remote-common/include/board_common.h | 2 ++
 boards/waspmote-pro/include/board.h         | 2 +-
 6 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/boards/arduino-common/include/board.h b/boards/arduino-common/include/board.h
index fe84d1d286..60febb8588 100644
--- a/boards/arduino-common/include/board.h
+++ b/boards/arduino-common/include/board.h
@@ -73,6 +73,7 @@ extern "C" {
  */
 #define XTIMER_WIDTH                (16)
 #define XTIMER_SHIFT                (2)
+#define XTIMER_HZ                   (250000UL)
 #define XTIMER_BACKOFF              (40)
 /** @} */
 
diff --git a/boards/arduino-mega2560/include/board.h b/boards/arduino-mega2560/include/board.h
index 20f9d4a031..da03bcac1f 100644
--- a/boards/arduino-mega2560/include/board.h
+++ b/boards/arduino-mega2560/include/board.h
@@ -69,6 +69,7 @@ extern "C" {
  */
 #define XTIMER_WIDTH                (16)
 #define XTIMER_SHIFT                (2)
+#define XTIMER_HZ                   (250000UL)
 #define XTIMER_BACKOFF              (40)
 /** @} */
 
diff --git a/boards/cc2538dk/include/board.h b/boards/cc2538dk/include/board.h
index 137d4076bb..b0cbf7ac40 100644
--- a/boards/cc2538dk/include/board.h
+++ b/boards/cc2538dk/include/board.h
@@ -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)
 /** @} */
diff --git a/boards/openmote-cc2538/include/board.h b/boards/openmote-cc2538/include/board.h
index cd58a4f510..cfdbc60c01 100644
--- a/boards/openmote-cc2538/include/board.h
+++ b/boards/openmote-cc2538/include/board.h
@@ -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)
 /** @} */
diff --git a/boards/remote-common/include/board_common.h b/boards/remote-common/include/board_common.h
index 47b317aa61..298761aa2f 100644
--- a/boards/remote-common/include/board_common.h
+++ b/boards/remote-common/include/board_common.h
@@ -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)
 /** @} */
diff --git a/boards/waspmote-pro/include/board.h b/boards/waspmote-pro/include/board.h
index 5bebfe900a..1b3b9f9754 100644
--- a/boards/waspmote-pro/include/board.h
+++ b/boards/waspmote-pro/include/board.h
@@ -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)
 /** @} */
 
 /**
-- 
GitLab