summaryrefslogtreecommitdiff
path: root/nuttx/configs/mcu123-lpc214x/usbstorage
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-10-23 20:51:26 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-10-23 20:51:26 +0000
commit0cf761a1bae29b16b7d8309faec0916f2726defb (patch)
tree9fae6c26a91ead580d60afd7f372421ead64c243 /nuttx/configs/mcu123-lpc214x/usbstorage
parentca1717faa421c41b1647f40c88005302e793ce56 (diff)
downloadpx4-nuttx-0cf761a1bae29b16b7d8309faec0916f2726defb.tar.gz
px4-nuttx-0cf761a1bae29b16b7d8309faec0916f2726defb.tar.bz2
px4-nuttx-0cf761a1bae29b16b7d8309faec0916f2726defb.zip
update USB configuration settings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1068 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/mcu123-lpc214x/usbstorage')
-rw-r--r--nuttx/configs/mcu123-lpc214x/usbstorage/defconfig19
1 files changed, 18 insertions, 1 deletions
diff --git a/nuttx/configs/mcu123-lpc214x/usbstorage/defconfig b/nuttx/configs/mcu123-lpc214x/usbstorage/defconfig
index 0e7ce5a37..b7408c7ed 100644
--- a/nuttx/configs/mcu123-lpc214x/usbstorage/defconfig
+++ b/nuttx/configs/mcu123-lpc214x/usbstorage/defconfig
@@ -282,7 +282,8 @@ CONFIG_PREALLOC_WDOGS=4
CONFIG_PREALLOC_TIMERS=4
#
-# FAT filesystem configuration
+# Filesystem configuration
+#
# CONFIG_FS_FAT - Enable FAT filesystem support
# CONFIG_FAT_SECTORSIZE - Max supported sector size
# CONFIG_FS_ROMFS - Enable ROMFS filesystem support
@@ -290,6 +291,16 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# SPI-based MMC/SD driver
+#
+# CONFIG_MMCSD_NSLOTS
+# Number of MMC/SD slots supported by the driver
+# CONFIG_MMCSD_READONLY
+# Provide read-only access (default is read/write)
+CONFIG_MMCSD_NSLOTS=1
+CONFIG_MMCSD_READONLY=n
+
+#
# TCP/IP and UDP support via uIP
# CONFIG_NET - Enable or disable all network features
# CONFIG_NET_IPv6 - Build in support for IPv6
@@ -394,6 +405,8 @@ CONFIG_LPC214X_USBDEV_DMAINTMASK=0
#
# USB Serial Device Configuration
#
+# CONFIG_USBSER
+# Enable compilation of the USB serial driver
# CONFIG_USBSER_EPINTIN
# The logical 7-bit address of a hardware endpoint that supports
# interrupt IN operation
@@ -411,6 +424,7 @@ CONFIG_LPC214X_USBDEV_DMAINTMASK=0
# The product ID code/string
# CONFIG_USBSER_RXBUFSIZE and CONFIG_USBSER_TXBUFSIZE
# Size of the serial receive/transmit buffers
+CONFIG_USBSER=n
CONFIG_USBSER_EPINTIN=1
CONFIG_USBSER_EPBULKOUT=2
CONFIG_USBSER_EPBULKIN=5
@@ -426,6 +440,8 @@ CONFIG_USBSER_TXBUFSIZE=512
#
# USB Storage Device Configuration
#
+# CONFIG_USBSTRG
+# Enable compilation of the USB storage driver
# CONFIG_USBSTRG_EP0MAXPACKET
# Max packet size for endpoint 0
# CONFIG_USBSER_EPBULKOUT and CONFIG_USBSER_EPBULKIN
@@ -443,6 +459,7 @@ CONFIG_USBSER_TXBUFSIZE=512
# The product ID code/string
# CONFIG_USBSTRG_REMOVABLE
# Select if the media is removable
+CONFIG_USBSTRG=y
CONFIG_USBSTRG_EP0MAXPACKET=64
CONFIG_USBSTRG_EPBULKOUT=2
CONFIG_USBSTRG_EPBULKIN=5