summaryrefslogtreecommitdiff
path: root/nuttx/drivers/usbhost/Kconfig
blob: 4d37641f8d8d0948755f49dd9ccf3635a6722d6a (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
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
config USBHOST_NPREALLOC
	int "Number of pre-allocated class instances"
	default 4
	---help---
		Number of pre-allocated class instances

config USBHOST_BULK_DISABLE
	bool "Disable bulk endpoint support"
	default n
	---help---
		On some architectures, selecting this setting will reduce driver size
		by disabling bulk endpoint support

config USBHOST_INT_DISABLE
	bool "Disable interrupt endpoint support"
	default n
	---help---
		On some architectures, selecting this setting will reduce driver size
		by disabling interrupt endpoint support

config USBHOST_ISOC_DISABLE
	bool "Disable isochronous endpoint support"
	default n
	---help---
		On some architectures, selecting this setting will reduce driver size
		by disabling isochronous endpoint support

config USBHOST_HIDKBD
	bool "HID keyboad class support"
	default n
	depends on !USBHOST_INT_DISABLE  && SCHED_WORKQUEUE && !DISABLE_SIGNALS

if  USBHOST_HIDKBD
config HIDKBD_POLLUSEC
	bool ""
	default n
	---help---
		Device poll rate in microseconds. Default: 100 milliseconds.

config HIDKBD_DEFPRIO
	bool ""
	default n
	---help---
		Priority of the polling thread.  Default: 50.

config HIDKBD_STACKSIZE
	bool ""
	default n
	---help---
		Stack size for polling thread.  Default: 1024

config HIDKBD_BUFSIZE
	bool ""
	default n
	---help---
		Scancode buffer size.  Default: 64.

config HIDKBD_NPOLLWAITERS
	bool ""
	default n
	---help---
		If the poll() method is enabled, this defines the maximum number
		of threads that can be waiting for keyboard events.  Default: 2.

config HIDKBD_RAWSCANCODES
	bool ""
	default n
	---help---
		If set to y no conversion will be made on the raw keyboard scan
		codes.  Default: ASCII conversion.

config HIDKBD_ALLSCANCODES
	bool ""
	default n
	---help---
		If set to y all 231 possible scancodes will be converted to
		something.  Default:  104 key US keyboard.

config HIDKBD_NODEBOUNCE
	bool ""
	default n
	---help---
		If set to y normal debouncing is disabled.  Default: 
		Debounce enabled (No repeat keys).
		USB host mass storage class driver. Requires CONFIG_USBHOST=y,
		config USBHOST_BULK_DISABLE=n, CONFIG_NFILE_DESCRIPTORS > 0,
		and CONFIG_SCHED_WORKQUEUE=y
endif