nuttx-apps/examples/serialrx/Kconfig

62 lines
1.2 KiB
Plaintext
Raw Normal View History

2014-04-22 16:40:48 +02:00
#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
2014-04-22 16:40:48 +02:00
#
config EXAMPLES_SERIALRX
bool "Serial RX example"
2014-04-22 16:40:48 +02:00
default n
---help---
2014-04-22 16:41:15 +02:00
Enable the serial RX example
2014-04-22 16:40:48 +02:00
if EXAMPLES_SERIALRX
config EXAMPLES_SERIALRX_STACKSIZE
int "Serial RX stack size"
default 2048
config EXAMPLES_SERIALRX_PRIORITY
int "Serial RX task priority"
default 50
config EXAMPLES_SERIALRX_BUFFERED
bool "Buffered I/O"
default y
---help---
Use buffered I/O
config EXAMPLES_SERIALRX_BUFSIZE
int "Buffer size"
default 11520
---help---
Specifies the default buffer size
config EXAMPLES_SERIALRX_DEVPATH
string "Serial device path"
default "/dev/ttyS0"
---help---
The default path to the serial device
choice
prompt "Output method"
default EXAMPLES_SERIALRX_PRINTHYPHEN
config EXAMPLES_SERIALRX_PRINTHYPHEN
bool "Hyphen"
---help---
Print a hyphen after receiving a full buffer
config EXAMPLES_SERIALRX_PRINTHEX
bool "Hexadecimal"
---help---
Print the bytes received in hexadecimal
config EXAMPLES_SERIALRX_PRINTSTR
bool "String"
---help---
Print the bytes received as a string
endchoice
2014-04-22 16:40:48 +02:00
endif