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
This commit is contained in:
patacongo 2011-08-16 15:06:39 +00:00
parent d321d62a80
commit b7197791ff
2 changed files with 6 additions and 6 deletions

View File

@ -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();

View File

@ -44,10 +44,6 @@
/************************************************************************************************
* Preprocessor Definitions
************************************************************************************************/
# define KINETIS_FLASH_BASE 0x00000000 /* 0x0fffffff Program flash and read-
define KINETIS_SRAML_BASE 0000 /* 0x1fffffff SRAM_L: Lower SRAM
* (ICODE/DCODE) */
/* Memory Map:
*
* 0x0000:0000 - Beginning of FLASH. Address of vectors