mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 10:06:38 +08:00
Still detangling lowuart stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@709 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -66,10 +66,17 @@
|
||||
/* Determine which (if any) console driver to use */
|
||||
|
||||
#if CONFIG_NFILE_DESCRIPTORS == 0 || defined(CONFIG_DEV_LOWCONSOLE)
|
||||
# define CONFIG_USE_LOWUARTINIT 1
|
||||
# undef CONFIG_USE_SERIALDRIVER
|
||||
# undef CONFIG_USE_EARLYSERIALINIT
|
||||
# ifdef CONFIG_HAVE_LOWUARTINIT
|
||||
# define CONFIG_USE_LOWUARTINIT 1
|
||||
# else
|
||||
# undef CONFIG_USE_LOWUARTINIT
|
||||
# endif
|
||||
#elif defined(CONFIG_DEV_CONSOLE) && CONFIG_NFILE_DESCRIPTORS > 0
|
||||
# define CONFIG_USE_SERIALDRIVER 1
|
||||
# define CONFIG_USE_EARLYSERIALINIT 1
|
||||
# undef CONFIG_USE_LOWUARTINIT
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user