You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/05/24 14:21:39 UTC

[incubator-nuttx] 01/03: boards: lm3s6965-ek: Fix SYSCLK_FREQUENCY for QEMU

This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 563d94d9693b33e3fb621c3a92c9fe177431f2aa
Author: Masayuki Ishikawa <ma...@gmail.com>
AuthorDate: Sun May 24 20:46:44 2020 +0900

    boards: lm3s6965-ek: Fix SYSCLK_FREQUENCY for QEMU
---
 boards/arm/tiva/lm3s6965-ek/include/board.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/boards/arm/tiva/lm3s6965-ek/include/board.h b/boards/arm/tiva/lm3s6965-ek/include/board.h
index daaa45f..b270f35 100644
--- a/boards/arm/tiva/lm3s6965-ek/include/board.h
+++ b/boards/arm/tiva/lm3s6965-ek/include/board.h
@@ -65,7 +65,12 @@
  */
 
 #define TIVA_SYSDIV          4
+
+#ifdef CONFIG_TIVA_WITH_QEMU
+#define SYSCLK_FREQUENCY     12500000  /* 12.5MHz */
+#else
 #define SYSCLK_FREQUENCY     50000000  /* 50MHz */
+#endif
 
 /* Peripheral Clock (PCLK)
  *