summaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-01-16 14:02:42 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-01-16 14:02:42 +0000
commitb7145b509d269f4a5ffcecad9a969c6a0a480f20 (patch)
tree035ba62000a7edb601c2a7b5243176dd8228c096 /nuttx/configs
parent979c0410e02cb6217fdc87bff44d17c3182ed1d7 (diff)
downloadpx4-nuttx-b7145b509d269f4a5ffcecad9a969c6a0a480f20.tar.gz
px4-nuttx-b7145b509d269f4a5ffcecad9a969c6a0a480f20.tar.bz2
px4-nuttx-b7145b509d269f4a5ffcecad9a969c6a0a480f20.zip
Make space for int/isoc endpoint support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3254 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs')
-rw-r--r--nuttx/configs/README.txt9
-rwxr-xr-xnuttx/configs/nucleus2g/nsh/defconfig13
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/hidkbd/defconfig13
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/nsh/defconfig13
4 files changed, 48 insertions, 0 deletions
diff --git a/nuttx/configs/README.txt b/nuttx/configs/README.txt
index e2b725c90..8b5e7a51b 100644
--- a/nuttx/configs/README.txt
+++ b/nuttx/configs/README.txt
@@ -708,6 +708,15 @@ defconfig -- This is a configuration file similar to the Linux
Enables USB host support
CONFIG_USBHOST_NPREALLOC
Number of pre-allocated class instances
+ CONFIG_USBHOST_BULK_DISABLE
+ On some architectures, selecting this setting will reduce driver size
+ by disabling bulk endpoint support
+ CONFIG_USBHOST_INT_DISABLE
+ On some architectures, selecting this setting will reduce driver size
+ by disabling interrupt endpoint support
+ CONFIG_USBHOST_ISOC_DISABLE
+ On some architectures, selecting this setting will reduce driver size
+ by disabling isochronous endpoint support
USB serial device class driver
CONFIG_USBSER
diff --git a/nuttx/configs/nucleus2g/nsh/defconfig b/nuttx/configs/nucleus2g/nsh/defconfig
index 70a183452..048e7dea2 100755
--- a/nuttx/configs/nucleus2g/nsh/defconfig
+++ b/nuttx/configs/nucleus2g/nsh/defconfig
@@ -326,6 +326,7 @@ CONFIG_APP_DIR=examples/nsh
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n
+CONFIG_DEBUG_USB=n
CONFIG_MM_REGIONS=2
CONFIG_ARCH_LOWPUTC=y
CONFIG_RR_INTERVAL=200
@@ -593,9 +594,21 @@ CONFIG_USBDEV_TRACE_NRECORDS=128
# Enables USB host support
# CONFIG_USBHOST_NPREALLOC
# Number of pre-allocated class instances
+# CONFIG_USBHOST_BULK_DISABLE
+# On some architectures, selecting this setting will reduce driver size
+# by disabling bulk endpoint support
+# CONFIG_USBHOST_INT_DISABLE
+# On some architectures, selecting this setting will reduce driver size
+# by disabling interrupt endpoint support
+# CONFIG_USBHOST_ISOC_DISABLE
+# On some architectures, selecting this setting will reduce driver size
+# by disabling isochronous endpoint support
#
CONFIG_USBHOST=n
CONFIG_USBHOST_NPREALLOC=0
+CONFIG_USBHOST_BULK_DISABLE=n
+CONFIG_USBHOST_INT_DISABLE=y
+CONFIG_USBHOST_ISOC_DISABLE=y
#
# LPC17xx USB Device Configuration
diff --git a/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig b/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig
index cbec92dcc..fe415736e 100755
--- a/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig
@@ -330,6 +330,7 @@ CONFIG_APP_DIR=examples/hidkbd
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n
+CONFIG_DEBUG_USB=n
CONFIG_MM_REGIONS=2
CONFIG_ARCH_LOWPUTC=y
CONFIG_RR_INTERVAL=200
@@ -599,9 +600,21 @@ CONFIG_USBDEV_TRACE_NRECORDS=128
# Enables USB host support
# CONFIG_USBHOST_NPREALLOC
# Number of pre-allocated class instances
+# CONFIG_USBHOST_BULK_DISABLE
+# On some architectures, selecting this setting will reduce driver size
+# by disabling bulk endpoint support
+# CONFIG_USBHOST_INT_DISABLE
+# On some architectures, selecting this setting will reduce driver size
+# by disabling interrupt endpoint support
+# CONFIG_USBHOST_ISOC_DISABLE
+# On some architectures, selecting this setting will reduce driver size
+# by disabling isochronous endpoint support
#
CONFIG_USBHOST=y
CONFIG_USBHOST_NPREALLOC=0
+CONFIG_USBHOST_BULK_DISABLE=y
+CONFIG_USBHOST_INT_DISABLE=n
+CONFIG_USBHOST_ISOC_DISABLE=y
#
# LPC17xx USB Device Configuration
diff --git a/nuttx/configs/olimex-lpc1766stk/nsh/defconfig b/nuttx/configs/olimex-lpc1766stk/nsh/defconfig
index ffbda051f..8869ab2fb 100755
--- a/nuttx/configs/olimex-lpc1766stk/nsh/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/nsh/defconfig
@@ -330,6 +330,7 @@ CONFIG_APP_DIR=examples/nsh
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n
+CONFIG_DEBUG_USB=n
CONFIG_MM_REGIONS=2
CONFIG_ARCH_LOWPUTC=y
CONFIG_RR_INTERVAL=200
@@ -599,9 +600,21 @@ CONFIG_USBDEV_TRACE_NRECORDS=128
# Enables USB host support
# CONFIG_USBHOST_NPREALLOC
# Number of pre-allocated class instances
+# CONFIG_USBHOST_BULK_DISABLE
+# On some architectures, selecting this setting will reduce driver size
+# by disabling bulk endpoint support
+# CONFIG_USBHOST_INT_DISABLE
+# On some architectures, selecting this setting will reduce driver size
+# by disabling interrupt endpoint support
+# CONFIG_USBHOST_ISOC_DISABLE
+# On some architectures, selecting this setting will reduce driver size
+# by disabling isochronous endpoint support
#
CONFIG_USBHOST=n
CONFIG_USBHOST_NPREALLOC=0
+CONFIG_USBHOST_BULK_DISABLE=n
+CONFIG_USBHOST_INT_DISABLE=y
+CONFIG_USBHOST_ISOC_DISABLE=y
#
# LPC17xx USB Device Configuration