misc resource utilization fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3212 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
8faec1c5b1
commit
40bbda8f4b
@ -593,7 +593,18 @@ CONFIG_USBDEV_TRACE=n
|
||||
CONFIG_USBDEV_TRACE_NRECORDS=128
|
||||
|
||||
#
|
||||
# LPC17xx USB Configuration
|
||||
# USB Host Configuration
|
||||
#
|
||||
# CONFIG_USBHOST
|
||||
# Enables USB host support
|
||||
# CONFIG_USBHOST_NPREALLOC
|
||||
# Number of pre-allocated class instances
|
||||
#
|
||||
CONFIG_USBHOST=n
|
||||
CONFIG_USBHOST_NPREALLOC=0
|
||||
|
||||
#
|
||||
# LPC17xx USB Device Configuration
|
||||
#
|
||||
# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT
|
||||
# Handle USB Start-Of-Frame events.
|
||||
@ -614,6 +625,27 @@ CONFIG_LPC17_USBDEV_DMA=n
|
||||
CONFIG_LPC17_USBDEV_NDMADESCRIPTORS=0
|
||||
CONFIG_LPC17_USBDEV_DMAINTMASK=0
|
||||
|
||||
#
|
||||
# LPC17xx USB Host Configuration
|
||||
#
|
||||
# OHCI RAM layout:
|
||||
# CONFIG_USBHOST_OHCIRAM_SIZE
|
||||
# Total size of OHCI RAM (in AHB SRAM Bank 1)
|
||||
# CONFIG_USBHOST_NEDS
|
||||
# Number of endpoint descriptors
|
||||
# CONFIG_USBHOST_TDBUFFERS
|
||||
# Number of transfer descriptor buffers
|
||||
# CONFIG_USBHOST_TDBUFSIZE
|
||||
# Size of one transfer descriptor buffer
|
||||
# CONFIG_USBHOST_IOBUFSIZE
|
||||
# Size of one end-user I/O buffer
|
||||
#
|
||||
CONFIG_USBHOST_OHCIRAM_SIZE=1280
|
||||
CONFIG_USBHOST_NEDS=2
|
||||
CONFIG_USBHOST_TDBUFFERS=3
|
||||
CONFIG_USBHOST_TDBUFSIZE=128
|
||||
CONFIG_USBHOST_IOBUFSIZE=512
|
||||
|
||||
#
|
||||
# USB Serial Device Configuration
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user