From 8d50b8cc60f08238609fecc6770269643d5b557f Mon Sep 17 00:00:00 2001
From: Tristan Bruns <tristan+git@tristanbruns.de>
Date: Thu, 17 Jan 2019 17:21:09 +0100
Subject: [PATCH] boards/hifive1: fix CLOCK_CORECLOCK

---
 boards/hifive1/include/periph_conf.h | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/boards/hifive1/include/periph_conf.h b/boards/hifive1/include/periph_conf.h
index e0dd676121..a636be5179 100644
--- a/boards/hifive1/include/periph_conf.h
+++ b/boards/hifive1/include/periph_conf.h
@@ -27,12 +27,8 @@ extern "C" {
  * @name    Core Clock configuration
  * @{
  */
-#define CLOCK_CORECLOCK             (1600000ul)
-/*
- * #define CLOCK_CORECLOCK           (20000000ul)
- * #define CLOCK_CORECLOCK           (27000000ul)
- * #define CLOCK_CORECLOCK           (38400000ul)
- */
+/* As defined in boards/hifive1/board.c CPU_DESIRED_FREQ **/
+#define CLOCK_CORECLOCK             (200000000ul)
 /** @} */
 
 /**
-- 
GitLab