summaryrefslogtreecommitdiff
path: root/nuttx/drivers/usbhost
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-13 14:27:44 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-13 14:27:44 +0000
commit39d5b50acfe2e80d151169bf39defd8836352fbc (patch)
tree7ce0182627d159e85327377b15872ee5947ab487 /nuttx/drivers/usbhost
parent9f46571a0abc4f66c5a26859ed93b885587c8c6b (diff)
downloadpx4-nuttx-39d5b50acfe2e80d151169bf39defd8836352fbc.tar.gz
px4-nuttx-39d5b50acfe2e80d151169bf39defd8836352fbc.tar.bz2
px4-nuttx-39d5b50acfe2e80d151169bf39defd8836352fbc.zip
Kconfig update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4599 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/usbhost')
-rw-r--r--nuttx/drivers/usbhost/Kconfig88
1 files changed, 88 insertions, 0 deletions
diff --git a/nuttx/drivers/usbhost/Kconfig b/nuttx/drivers/usbhost/Kconfig
index ae2bf3130..4d37641f8 100644
--- a/nuttx/drivers/usbhost/Kconfig
+++ b/nuttx/drivers/usbhost/Kconfig
@@ -2,3 +2,91 @@
# 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