From 9e0911ad7919c5082a699ca100f8843b8f690390 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 16 Aug 2011 15:06:39 +0000 Subject: Fixed for Kinetis build with DEBUG on git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3885 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/arm/src/kinetis/kinetis_start.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'nuttx/arch/arm/src/kinetis/kinetis_start.c') diff --git a/nuttx/arch/arm/src/kinetis/kinetis_start.c b/nuttx/arch/arm/src/kinetis/kinetis_start.c index 1baa5e626..d976e5b2c 100644 --- a/nuttx/arch/arm/src/kinetis/kinetis_start.c +++ b/nuttx/arch/arm/src/kinetis/kinetis_start.c @@ -51,6 +51,7 @@ #include "up_internal.h" #include "kinetis_internal.h" +#include "kinetis_smc.h" /**************************************************************************** * Private Definitions @@ -122,12 +123,15 @@ void __start(void) } #endif - /* Perform clock and Kinetis module initialization */ + /* Perform clock and Kinetis module initialization (This depends on + * RAM functions having been copied to RAM). + */ kinetis_clockconfig(); /* Configure the uart and perform early serial initialization so that we - * can get debug output as soon as possible. + * can get debug output as soon as possible (This depends on clock + * configuration). */ kinetis_lowsetup(); -- cgit v1.2.3