summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/calypso/Kconfig
blob: 287494cc46bb46488ef535dd7fb85d0e20198659 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#

comment "Calypso Configuration Options"

menu "Modem UART Configuration"

config UART_MODEM_BAUD
	int "Modem UART BAUD"
	default 115200

config UART_MODEM_PARITY
	int "Modem UART parity"
	default 0
	---help---
		Modem UART parity.  0=None, 1=Odd, 2=Even.  Default: None

config UART_MODEM_BITS
	int "Modem UART number of bits"
	default 8
	---help---
		Modem UART number of bits.  Default: 8

config UART_MODEM_2STOP
	int "Modem UART two stop bits"
	default 0
	---help---
		0=1 stop bit, 1=Two stop bits.  Default: 1 stop bit

config UART_MODEM_RXBUFSIZE
	int "Modem UART Rx buffer size"
	default 256
	---help---
		Modem UART Rx buffer size.  Default: 256

config UART_MODEM_TXBUFSIZE
	int "Modem UART Tx buffer size"
	default 256
	---help---
		Modem UART Tx buffer size.  Default: 256

config UART_MODEM_HWFLOWCONTROL
	bool "Hardware flow control"
	default n
	---help---
		Enabled Modem UART hardware flow control. Default: n

endmenu

menu "IrDA UART Configuration"

config UART_IRDA_BAUD
	int "IrDA UART BAUD"
	default 115200

config UART_IRDA_PARITY
	int "IrDA UART parity"
	default 0
	---help---
		IrDA UART parity.  0=None, 1=Odd, 2=Even.  Default: None

config UART_IRDA_BITS
	int "IrDA UART number of bits"
	default 8
	---help---
		IrDA UART number of bits.  Default: 8

config UART_IRDA_2STOP
	int "IrDA UART two stop bits"
	default 0
	---help---
		0=1 stop bit, 1=Two stop bits.  Default: 1 stop bit

config UART_IRDA_RXBUFSIZE
	int "IrDA UART Rx buffer size"
	default 256
	---help---
		IrDA UART Rx buffer size.  Default: 256

config UART_IRDA_TXBUFSIZE
	int "IrDA UART Tx buffer size"
	default 256
	---help---
		IrDA UART Tx buffer size.  Default: 256

config UART_IRDA_HWFLOWCONTROL
	bool "Hardware flow control"
	default n
	---help---
		Enabled IrDA UART hardware flow control. Default: n

endmenu

choice
	prompt "Serial Console Selection"
	default SERIAL_CONSOLE_NONE
	depends on DEV_CONSOLE

# See drivers/Kconfig
config USE_SERCOMM_CONSOLE
	bool "SERCOMM console"
	select SERCOMM_CONSOLE

config SERIAL_MODEM_CONSOLE
	bool "Serial console on modem UART"

config SERIAL_IRDA_CONSOLE
	bool "Serial console on IrDA UART"

config SERIAL_CONSOLE_NONE
	bool "No serial console"

endchoice