summaryrefslogtreecommitdiff
path: root/nuttx/configs/pic32-starterkit/nsh2/defconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-03-13 23:47:11 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-03-13 23:47:11 +0000
commit3f0eacb1397adfef5c6f8445fa1f28ccd18e616b (patch)
treeb2a8df3837e91d709c8d1f49ba387dc18dcf25e8 /nuttx/configs/pic32-starterkit/nsh2/defconfig
parent4db6969af9fbe458d1d7d68bb2c918bc97e88c4d (diff)
downloadnuttx-3f0eacb1397adfef5c6f8445fa1f28ccd18e616b.tar.gz
nuttx-3f0eacb1397adfef5c6f8445fa1f28ccd18e616b.tar.bz2
nuttx-3f0eacb1397adfef5c6f8445fa1f28ccd18e616b.zip
Tinkering with USB MSC device on PIC32 -- doesn't work
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4488 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/pic32-starterkit/nsh2/defconfig')
-rw-r--r--nuttx/configs/pic32-starterkit/nsh2/defconfig9
1 files changed, 6 insertions, 3 deletions
diff --git a/nuttx/configs/pic32-starterkit/nsh2/defconfig b/nuttx/configs/pic32-starterkit/nsh2/defconfig
index bbd9cd75b..f5bff6ffa 100644
--- a/nuttx/configs/pic32-starterkit/nsh2/defconfig
+++ b/nuttx/configs/pic32-starterkit/nsh2/defconfig
@@ -876,7 +876,7 @@ CONFIG_USBDEV_TRACE_NRECORDS=128
CONFIG_PL2303=n
CONFIG_PL2303_EPINTIN=1
CONFIG_PL2303_EPBULKOUT=2
-CONFIG_PL2303_EPBULKIN=5
+CONFIG_PL2303_EPBULKIN=3
CONFIG_PL2303_NWRREQS=4
CONFIG_PL2303_NRDREQS=4
CONFIG_PL2303_VENDORID=0x067b
@@ -983,8 +983,8 @@ CONFIG_CDCACM_CONSOLE=n
#
CONFIG_USBMSC=n
CONFIG_USBMSC_EP0MAXPACKET=64
-CONFIG_USBMSC_EPBULKOUT=2
-CONFIG_USBMSC_EPBULKIN=5
+CONFIG_USBMSC_EPBULKOUT=1
+CONFIG_USBMSC_EPBULKIN=2
CONFIG_USBMSC_NRDREQS=2
CONFIG_USBMSC_NWRREQS=2
CONFIG_USBMSC_BULKINREQLEN=256
@@ -1329,6 +1329,8 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
#
# Settings for examples/usbstorage
#
+# CONFIG_EXAMPLES_USBMSC_BUILTIN
+# Build the USBMSC storage example as an NSH built-in application.
# CONFIG_EXAMPLES_USBMSC_NLUNS
# Defines the number of logical units (LUNs) exported by the USB storage
# driver. Each LUN corresponds to one exported block driver (or partition
@@ -1361,6 +1363,7 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS
# Show interrupt-related events.
#
+CONFIG_EXAMPLES_USBMSC_BUILTIN=y
CONFIG_EXAMPLES_USBMSC_NLUNS=1
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"