From 0875f256ffd2341ca05a697dbc0f51e94ec714c5 Mon Sep 17 00:00:00 2001
From: patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>
Date: Wed, 27 Feb 2013 23:14:48 +0000
Subject: [PATCH] Fix error in NUC120 SysTick source clock setting; switch to
 core clock as SysTick clock source

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5684 42af7a65-404d-4744-a932-0658087f49c3
---
 configs/nutiny-nuc120/nsh/defconfig    | 3 ++-
 configs/nutiny-nuc120/ostest/defconfig | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/configs/nutiny-nuc120/nsh/defconfig b/configs/nutiny-nuc120/nsh/defconfig
index d884480f2f..dd72a216b2 100644
--- a/configs/nutiny-nuc120/nsh/defconfig
+++ b/configs/nutiny-nuc120/nsh/defconfig
@@ -162,7 +162,8 @@ CONFIG_NUC_UART1=y
 # CONFIG_NUC_PS2 is not set
 # CONFIG_NUC_I2S is not set
 CONFIG_NUC_INTHI=y
-CONFIG_NUC_SYSTICK_XTALHI=y
+CONFIG_NUC_SYSTICK_CORECLK=y
+# CONFIG_NUC_SYSTICK_XTALHI is not set
 # CONFIG_NUC_SYSTICK_XTALLO is not set
 # CONFIG_NUC_SYSTICK_XTALHId2 is not set
 # CONFIG_NUC_SYSTICK_HCLKd2 is not set
diff --git a/configs/nutiny-nuc120/ostest/defconfig b/configs/nutiny-nuc120/ostest/defconfig
index a8c8e26bb6..2dd7568d48 100644
--- a/configs/nutiny-nuc120/ostest/defconfig
+++ b/configs/nutiny-nuc120/ostest/defconfig
@@ -164,7 +164,8 @@ CONFIG_NUC_UART1=y
 # CONFIG_NUC_PS2 is not set
 # CONFIG_NUC_I2S is not set
 CONFIG_NUC_INTHI=y
-CONFIG_NUC_SYSTICK_XTALHI=y
+CONFIG_NUC_SYSTICK_CORECLK=y
+# CONFIG_NUC_SYSTICK_XTALHI is not set
 # CONFIG_NUC_SYSTICK_XTALLO is not set
 # CONFIG_NUC_SYSTICK_XTALHId2 is not set
 # CONFIG_NUC_SYSTICK_HCLKd2 is not set