summaryrefslogtreecommitdiff
path: root/nuttx/arch/avr/src/common
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-10-09 02:16:20 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-10-09 02:16:20 +0000
commit191c5b0c79eee53dcd2beb8623f89b80b632a2c6 (patch)
tree4d3f4cc55f5ca6c2aae2afc097242b927e1a362c /nuttx/arch/avr/src/common
parent5e01bca8ef5874ba91274df1d235dbed7311978c (diff)
downloadpx4-nuttx-191c5b0c79eee53dcd2beb8623f89b80b632a2c6.tar.gz
px4-nuttx-191c5b0c79eee53dcd2beb8623f89b80b632a2c6.tar.bz2
px4-nuttx-191c5b0c79eee53dcd2beb8623f89b80b632a2c6.zip
Add uart init logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2982 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/avr/src/common')
-rw-r--r--nuttx/arch/avr/src/common/up_internal.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/nuttx/arch/avr/src/common/up_internal.h b/nuttx/arch/avr/src/common/up_internal.h
index 417ffeb60..e5aabc6c7 100644
--- a/nuttx/arch/avr/src/common/up_internal.h
+++ b/nuttx/arch/avr/src/common/up_internal.h
@@ -59,16 +59,6 @@
#undef CONFIG_SUPPRESS_UART_CONFIG /* DEFINED: Do not reconfig UART */
#undef CONFIG_DUMP_ON_EXIT /* DEFINED: Dump task state on exit */
-/* Determine which (if any) console driver to use */
-
-#if CONFIG_NFILE_DESCRIPTORS == 0 || defined(CONFIG_DEV_LOWCONSOLE)
-# undef CONFIG_USE_SERIALDRIVER
-# undef CONFIG_USE_EARLYSERIALINIT
-#elif defined(CONFIG_DEV_CONSOLE) && CONFIG_NFILE_DESCRIPTORS > 0
-# define CONFIG_USE_SERIALDRIVER 1
-# define CONFIG_USE_EARLYSERIALINIT 1
-#endif
-
/* Check if an interrupt stack size is configured */
#ifndef CONFIG_ARCH_INTERRUPTSTACK