From 80e038045d9e12170adc7fc8a138a3effb3fb3ef Mon Sep 17 00:00:00 2001
From: Kaspar Schleiser <kaspar@schleiser.de>
Date: Sat, 5 Sep 2015 17:36:35 +0200
Subject: [PATCH] boards: nucleo-f334: update xtimer tuning values

---
 boards/nucleo-f334/include/board.h       | 8 ++++++++
 boards/nucleo-f334/include/periph_conf.h | 9 ---------
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/boards/nucleo-f334/include/board.h b/boards/nucleo-f334/include/board.h
index d149722e56..3b16ba2da7 100644
--- a/boards/nucleo-f334/include/board.h
+++ b/boards/nucleo-f334/include/board.h
@@ -74,6 +74,14 @@ extern "C" {
 #define LED_ORANGE_TOGGLE
 /** @} */
 
+/**
+ * @name xtimer tuning values
+ * @{
+ */
+#define XTIMER_OVERHEAD     5
+#define XTIMER_SHOOT_EARLY  2
+/** @} */
+
 /**
  * @brief Initialize board specific hardware, including clock, LEDs and std-IO
  */
diff --git a/boards/nucleo-f334/include/periph_conf.h b/boards/nucleo-f334/include/periph_conf.h
index 6b9c8c1ed1..8d8c769982 100644
--- a/boards/nucleo-f334/include/periph_conf.h
+++ b/boards/nucleo-f334/include/periph_conf.h
@@ -108,15 +108,6 @@ extern "C" {
 #define SPI_0_MOSI_PORT_CLKEN() (RCC->AHBENR |= RCC_AHBENR_GPIOAEN)
 /** @} */
 
-/**
- * @name xtimer configuration
- * @{
- */
-#define XTIMER_USLEEP_UNTIL_OVERHEAD 10
-#define XTIMER_BACKOFF 15
-#define XTIMER_OVERHEAD 3
-/** @} */
-
 #ifdef __cplusplus
 }
 #endif
-- 
GitLab