summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc2378
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-11 03:50:52 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-11 03:50:52 +0000
commit4a62de545bf87610c2415218e144ddef4dd0e75c (patch)
tree6c5b47ab79d40800d497f8a470aad5aa569ff9d6 /nuttx/arch/arm/src/lpc2378
parent24af177eb1a3e7036f8a3ee5342970ddeb151124 (diff)
downloadpx4-nuttx-4a62de545bf87610c2415218e144ddef4dd0e75c.tar.gz
px4-nuttx-4a62de545bf87610c2415218e144ddef4dd0e75c.tar.bz2
px4-nuttx-4a62de545bf87610c2415218e144ddef4dd0e75c.zip
Add logic so that a RAM log can be used in place of a console device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4380 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc2378')
-rwxr-xr-xnuttx/arch/arm/src/lpc2378/lpc23xx_head.S6
-rwxr-xr-xnuttx/arch/arm/src/lpc2378/lpc23xx_serial.c10
2 files changed, 8 insertions, 8 deletions
diff --git a/nuttx/arch/arm/src/lpc2378/lpc23xx_head.S b/nuttx/arch/arm/src/lpc2378/lpc23xx_head.S
index d9b5fdfcb..a4cab8f05 100755
--- a/nuttx/arch/arm/src/lpc2378/lpc23xx_head.S
+++ b/nuttx/arch/arm/src/lpc2378/lpc23xx_head.S
@@ -6,8 +6,8 @@
*
* This file is part of the NuttX RTOS and based on the lpc2148 port:
*
- * Copyright (C) 2010 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Copyright (C) 2010, 2012 Gregory Nutt. All rights reserved.
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -181,7 +181,7 @@ __start:
/* Perform early serial initialization */
mov fp, #0
-#ifdef CONFIG_USE_EARLYSERIALINIT
+#ifdef USE_EARLYSERIALINIT
bl up_earlyserialinit
showprogress 'S'
#endif
diff --git a/nuttx/arch/arm/src/lpc2378/lpc23xx_serial.c b/nuttx/arch/arm/src/lpc2378/lpc23xx_serial.c
index 7590c7c93..8d3a020c7 100755
--- a/nuttx/arch/arm/src/lpc2378/lpc23xx_serial.c
+++ b/nuttx/arch/arm/src/lpc2378/lpc23xx_serial.c
@@ -6,8 +6,8 @@
*
* This file is part of the NuttX RTOS and based on the lpc2148 port:
*
- * Copyright (C) 2010 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Copyright (C) 2010, 2012 Gregory Nutt. All rights reserved.
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -67,7 +67,7 @@
#include "lpc23xx_uart.h"
#include "lpc23xx_vic.h"
-#ifdef CONFIG_USE_SERIALDRIVER
+#ifdef USE_SERIALDRIVER
/****************************************************************************
* Definitions
@@ -947,7 +947,7 @@ int up_putc(int ch)
return ch;
}
-#else /* CONFIG_USE_SERIALDRIVER */
+#else /* USE_SERIALDRIVER */
/****************************************************************************
* Name: up_putc
@@ -971,4 +971,4 @@ int up_putc(int ch)
up_lowputc(ch);
return ch;
}
-#endif /* CONFIG_USE_SERIALDRIVER */
+#endif /* USE_SERIALDRIVER */