From 527f93677d0f97c70622abced08644f02b2ba959 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 16 Jan 2011 14:02:42 +0000 Subject: [PATCH] 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 --- configs/README.txt | 9 +++++++++ configs/nucleus2g/nsh/defconfig | 13 +++++++++++++ configs/olimex-lpc1766stk/hidkbd/defconfig | 13 +++++++++++++ configs/olimex-lpc1766stk/nsh/defconfig | 13 +++++++++++++ 4 files changed, 48 insertions(+) diff --git a/configs/README.txt b/configs/README.txt index e2b725c908..8b5e7a51b2 100644 --- a/configs/README.txt +++ b/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/configs/nucleus2g/nsh/defconfig b/configs/nucleus2g/nsh/defconfig index 70a1834521..048e7dea21 100755 --- a/configs/nucleus2g/nsh/defconfig +++ b/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/configs/olimex-lpc1766stk/hidkbd/defconfig b/configs/olimex-lpc1766stk/hidkbd/defconfig index cbec92dcc4..fe415736ed 100755 --- a/configs/olimex-lpc1766stk/hidkbd/defconfig +++ b/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/configs/olimex-lpc1766stk/nsh/defconfig b/configs/olimex-lpc1766stk/nsh/defconfig index ffbda051f9..8869ab2fb0 100755 --- a/configs/olimex-lpc1766stk/nsh/defconfig +++ b/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