Remove CONFIG_DEV_LOWCONSOLE from source code
Follow the nuttx side change
This commit is contained in:
parent
569618220a
commit
eb8678cfeb
@ -59,15 +59,15 @@
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(CONFIG_DEV_CONSOLE) && !defined(CONFIG_DEV_LOWCONSOLE)
|
||||
# define HAVE_CONSOLE
|
||||
# define NPOLLFDS 2
|
||||
# define CONSNDX 0
|
||||
# define FIFONDX 1
|
||||
#ifdef CONFIG_DEV_CONSOLE
|
||||
# define HAVE_CONSOLE
|
||||
# define NPOLLFDS 2
|
||||
# define CONSNDX 0
|
||||
# define FIFONDX 1
|
||||
#else
|
||||
# undef HAVE_CONSOLE
|
||||
# define NPOLLFDS 1
|
||||
# define FIFONDX 0
|
||||
# undef HAVE_CONSOLE
|
||||
# define NPOLLFDS 1
|
||||
# define FIFONDX 0
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -1945,16 +1945,6 @@ NSH-Specific Configuration Settings
|
||||
Common Problems
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
Problem:
|
||||
Using NSH over serial, the "nsh>" prompt repeats over and over again
|
||||
with no serial input.
|
||||
Usual Cause:
|
||||
NSH over serial needs to use the interrupt driven serial driver
|
||||
(drivers/serial/serial.c) not the polled serial driver (drivers/serial/lowconsole.c).
|
||||
Make sure that the polled console is disabled in the OS configuration
|
||||
file, .config. That file should have CONFIG_DEV_LOWCONSOLE=n for
|
||||
NSH over serial.
|
||||
|
||||
Problem:
|
||||
The function 'readline' is undefined.
|
||||
Usual Cause:
|
||||
|
Loading…
x
Reference in New Issue
Block a user