2014-12-13 17:34:11 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:14:53 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2014-12-13 17:34:11 +01:00
|
|
|
#
|
|
|
|
|
2015-04-07 21:23:39 +02:00
|
|
|
menuconfig SYSTEM_CUTERM
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "CU minimal serial terminal"
|
2014-12-13 17:34:11 +01:00
|
|
|
default n
|
2019-03-05 19:38:39 +01:00
|
|
|
depends on ARCH_HAVE_SERIAL_TERMIOS
|
|
|
|
select SERIAL_TERMIOS
|
2014-12-13 17:34:11 +01:00
|
|
|
---help---
|
|
|
|
Enable the CU serial terminal. This is a minimalistic
|
|
|
|
implementation of the 'cu' terminal program (part of Taylor UUCP for
|
|
|
|
ages). Using it, you can simply open a serial port and interact with
|
|
|
|
it. Using '~.' you can leave the terminal program and drop back to nsh.
|
|
|
|
|
|
|
|
This terminal might come in handy for other people that have e.g. GS
|
|
|
|
modems, GPS receivers or other devices with text based serial
|
|
|
|
communications attached to their Nuttx systems.
|
2014-12-13 17:36:37 +01:00
|
|
|
|
|
|
|
if SYSTEM_CUTERM
|
|
|
|
|
2014-12-13 20:11:06 +01:00
|
|
|
config SYSTEM_CUTERM_DEFAULT_DEVICE
|
|
|
|
string "Default serial device"
|
|
|
|
default "/dev/ttyS0"
|
|
|
|
---help---
|
|
|
|
Normally, the serial device to be used is provided on the command line.
|
|
|
|
If no device is provided then this is the default device that will be\
|
|
|
|
used.
|
|
|
|
|
|
|
|
config SYSTEM_CUTERM_DEFAULT_BAUD
|
|
|
|
int "Default serial baud"
|
|
|
|
default 115200
|
|
|
|
---help---
|
|
|
|
Normally, the BAUD to be used is provided on the command line. If no
|
|
|
|
BAUD is provided then this is the default device that will be used.
|
|
|
|
|
2014-12-13 17:36:37 +01:00
|
|
|
config SYSTEM_CUTERM_STACKSIZE
|
|
|
|
int "CU terminal stack size"
|
|
|
|
default 2048
|
|
|
|
---help---
|
|
|
|
This is the stack size that will be used when starting the CU terminal.
|
|
|
|
|
|
|
|
config SYSTEM_CUTERM_PRIORITY
|
|
|
|
int "CU terminal priority"
|
|
|
|
default 100
|
|
|
|
---help---
|
|
|
|
This is the task priority that will be used when starting the CU terminal.
|
|
|
|
|
|
|
|
endif # SYSTEM_CUTERM
|