diff options
Diffstat (limited to 'nuttx/configs/stm3210e-eval')
-rwxr-xr-x | nuttx/configs/stm3210e-eval/README.txt | 2 | ||||
-rwxr-xr-x | nuttx/configs/stm3210e-eval/RIDE/defconfig | 44 | ||||
-rw-r--r-- | nuttx/configs/stm3210e-eval/buttons/defconfig | 44 | ||||
-rwxr-xr-x | nuttx/configs/stm3210e-eval/nsh/defconfig | 44 | ||||
-rw-r--r-- | nuttx/configs/stm3210e-eval/nsh2/defconfig | 96 | ||||
-rw-r--r-- | nuttx/configs/stm3210e-eval/nx/defconfig | 44 | ||||
-rw-r--r-- | nuttx/configs/stm3210e-eval/nxlines/defconfig | 44 | ||||
-rw-r--r-- | nuttx/configs/stm3210e-eval/nxtext/defconfig | 44 | ||||
-rwxr-xr-x | nuttx/configs/stm3210e-eval/ostest/defconfig | 44 | ||||
-rw-r--r-- | nuttx/configs/stm3210e-eval/src/Makefile | 4 | ||||
-rw-r--r-- | nuttx/configs/stm3210e-eval/src/up_usbmsc.c (renamed from nuttx/configs/stm3210e-eval/src/up_usbstrg.c) | 30 | ||||
-rwxr-xr-x | nuttx/configs/stm3210e-eval/usbserial/defconfig | 48 | ||||
-rwxr-xr-x | nuttx/configs/stm3210e-eval/usbstorage/defconfig | 92 |
13 files changed, 290 insertions, 290 deletions
diff --git a/nuttx/configs/stm3210e-eval/README.txt b/nuttx/configs/stm3210e-eval/README.txt index c9dab1737..1a38bac82 100755 --- a/nuttx/configs/stm3210e-eval/README.txt +++ b/nuttx/configs/stm3210e-eval/README.txt @@ -676,7 +676,7 @@ Where <subdir> is one of the following: long file names in the FAT file system. Please refer to the details in the top-level COPYING file. Please do not use FAT long file name unless you are familiar with these patent issues. - (5) When built as an NSH add-on command (CONFIG_EXAMPLES_USBSTRG_BUILTIN=y), + (5) When built as an NSH add-on command (CONFIG_EXAMPLES_USBMSC_BUILTIN=y), Caution should be used to assure that the SD drive is not in use when the USB storage device is configured. Specifically, the SD driver should be unmounted like: diff --git a/nuttx/configs/stm3210e-eval/RIDE/defconfig b/nuttx/configs/stm3210e-eval/RIDE/defconfig index f47f40bf3..8922e584e 100755 --- a/nuttx/configs/stm3210e-eval/RIDE/defconfig +++ b/nuttx/configs/stm3210e-eval/RIDE/defconfig @@ -685,40 +685,40 @@ CONFIG_USBSER_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBSTRG +# CONFIG_USBMSC # Enable compilation of the USB storage driver -# CONFIG_USBSTRG_EP0MAXPACKET +# CONFIG_USBMSC_EP0MAXPACKET # Max packet size for endpoint 0 -# CONFIG_USBSTRG_EPBULKOUT and CONFIG_USBSTRG_EPBULKIN +# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN # The logical 7-bit address of a hardware endpoints that support # bulk OUT and IN operations -# CONFIG_USBSTRG_NWRREQS and CONFIG_USBSTRG_NRDREQS +# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS # The number of write/read requests that can be in flight -# CONFIG_USBSTRG_BULKINREQLEN and CONFIG_USBSTRG_BULKOUTREQLEN +# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN # The size of the buffer in each write/read request. This # value needs to be at least as large as the endpoint # maxpacket and ideally as large as a block device sector. -# CONFIG_USBSTRG_VENDORID and CONFIG_USBSTRG_VENDORSTR +# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR # The vendor ID code/string -# CONFIG_USBSTRG_PRODUCTID and CONFIG_USBSTRG_PRODUCTSTR +# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR # The product ID code/string -# CONFIG_USBSTRG_REMOVABLE +# CONFIG_USBMSC_REMOVABLE # Select if the media is removable # -CONFIG_USBSTRG=n -CONFIG_USBSTRG_EP0MAXPACKET=64 -CONFIG_USBSTRG_EPBULKOUT=2 -CONFIG_USBSTRG_EPBULKIN=5 -CONFIG_USBSTRG_NRDREQS=2 -CONFIG_USBSTRG_NWRREQS=2 -CONFIG_USBSTRG_BULKINREQLEN=256 -CONFIG_USBSTRG_BULKOUTREQLEN=256 -CONFIG_USBSTRG_VENDORID=0x584e -CONFIG_USBSTRG_VENDORSTR="NuttX" -CONFIG_USBSTRG_PRODUCTID=0x5342 -CONFIG_USBSTRG_PRODUCTSTR="USBdev Storage" -CONFIG_USBSTRG_VERSIONNO=0x0399 -CONFIG_USBSTRG_REMOVABLE=y +CONFIG_USBMSC=n +CONFIG_USBMSC_EP0MAXPACKET=64 +CONFIG_USBMSC_EPBULKOUT=2 +CONFIG_USBMSC_EPBULKIN=5 +CONFIG_USBMSC_NRDREQS=2 +CONFIG_USBMSC_NWRREQS=2 +CONFIG_USBMSC_BULKINREQLEN=256 +CONFIG_USBMSC_BULKOUTREQLEN=256 +CONFIG_USBMSC_VENDORID=0x584e +CONFIG_USBMSC_VENDORSTR="NuttX" +CONFIG_USBMSC_PRODUCTID=0x5342 +CONFIG_USBMSC_PRODUCTSTR="USBdev Storage" +CONFIG_USBMSC_VERSIONNO=0x0399 +CONFIG_USBMSC_REMOVABLE=y # # Settings for examples/uip diff --git a/nuttx/configs/stm3210e-eval/buttons/defconfig b/nuttx/configs/stm3210e-eval/buttons/defconfig index 7a1e4d78d..d311435e3 100644 --- a/nuttx/configs/stm3210e-eval/buttons/defconfig +++ b/nuttx/configs/stm3210e-eval/buttons/defconfig @@ -698,40 +698,40 @@ CONFIG_USBSER_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBSTRG +# CONFIG_USBMSC # Enable compilation of the USB storage driver -# CONFIG_USBSTRG_EP0MAXPACKET +# CONFIG_USBMSC_EP0MAXPACKET # Max packet size for endpoint 0 -# CONFIG_USBSTRG_EPBULKOUT and CONFIG_USBSTRG_EPBULKIN +# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN # The logical 7-bit address of a hardware endpoints that support # bulk OUT and IN operations -# CONFIG_USBSTRG_NWRREQS and CONFIG_USBSTRG_NRDREQS +# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS # The number of write/read requests that can be in flight -# CONFIG_USBSTRG_BULKINREQLEN and CONFIG_USBSTRG_BULKOUTREQLEN +# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN # The size of the buffer in each write/read request. This # value needs to be at least as large as the endpoint # maxpacket and ideally as large as a block device sector. -# CONFIG_USBSTRG_VENDORID and CONFIG_USBSTRG_VENDORSTR +# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR # The vendor ID code/string -# CONFIG_USBSTRG_PRODUCTID and CONFIG_USBSTRG_PRODUCTSTR +# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR # The product ID code/string -# CONFIG_USBSTRG_REMOVABLE +# CONFIG_USBMSC_REMOVABLE # Select if the media is removable # -CONFIG_USBSTRG=n -CONFIG_USBSTRG_EP0MAXPACKET=64 -CONFIG_USBSTRG_EPBULKOUT=2 -CONFIG_USBSTRG_EPBULKIN=5 -CONFIG_USBSTRG_NRDREQS=2 -CONFIG_USBSTRG_NWRREQS=2 -CONFIG_USBSTRG_BULKINREQLEN=256 -CONFIG_USBSTRG_BULKOUTREQLEN=256 -CONFIG_USBSTRG_VENDORID=0x584e -CONFIG_USBSTRG_VENDORSTR="NuttX" -CONFIG_USBSTRG_PRODUCTID=0x5342 -CONFIG_USBSTRG_PRODUCTSTR="USBdev Storage" -CONFIG_USBSTRG_VERSIONNO=0x0399 -CONFIG_USBSTRG_REMOVABLE=y +CONFIG_USBMSC=n +CONFIG_USBMSC_EP0MAXPACKET=64 +CONFIG_USBMSC_EPBULKOUT=2 +CONFIG_USBMSC_EPBULKIN=5 +CONFIG_USBMSC_NRDREQS=2 +CONFIG_USBMSC_NWRREQS=2 +CONFIG_USBMSC_BULKINREQLEN=256 +CONFIG_USBMSC_BULKOUTREQLEN=256 +CONFIG_USBMSC_VENDORID=0x584e +CONFIG_USBMSC_VENDORSTR="NuttX" +CONFIG_USBMSC_PRODUCTID=0x5342 +CONFIG_USBMSC_PRODUCTSTR="USBdev Storage" +CONFIG_USBMSC_VERSIONNO=0x0399 +CONFIG_USBMSC_REMOVABLE=y # # Settings for examples/uip diff --git a/nuttx/configs/stm3210e-eval/nsh/defconfig b/nuttx/configs/stm3210e-eval/nsh/defconfig index 8e1e1f848..6b32d2094 100755 --- a/nuttx/configs/stm3210e-eval/nsh/defconfig +++ b/nuttx/configs/stm3210e-eval/nsh/defconfig @@ -701,40 +701,40 @@ CONFIG_USBSER_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBSTRG +# CONFIG_USBMSC # Enable compilation of the USB storage driver -# CONFIG_USBSTRG_EP0MAXPACKET +# CONFIG_USBMSC_EP0MAXPACKET # Max packet size for endpoint 0 -# CONFIG_USBSTRG_EPBULKOUT and CONFIG_USBSTRG_EPBULKIN +# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN # The logical 7-bit address of a hardware endpoints that support # bulk OUT and IN operations -# CONFIG_USBSTRG_NWRREQS and CONFIG_USBSTRG_NRDREQS +# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS # The number of write/read requests that can be in flight -# CONFIG_USBSTRG_BULKINREQLEN and CONFIG_USBSTRG_BULKOUTREQLEN +# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN # The size of the buffer in each write/read request. This # value needs to be at least as large as the endpoint # maxpacket and ideally as large as a block device sector. -# CONFIG_USBSTRG_VENDORID and CONFIG_USBSTRG_VENDORSTR +# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR # The vendor ID code/string -# CONFIG_USBSTRG_PRODUCTID and CONFIG_USBSTRG_PRODUCTSTR +# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR # The product ID code/string -# CONFIG_USBSTRG_REMOVABLE +# CONFIG_USBMSC_REMOVABLE # Select if the media is removable # -CONFIG_USBSTRG=n -CONFIG_USBSTRG_EP0MAXPACKET=64 -CONFIG_USBSTRG_EPBULKOUT=2 -CONFIG_USBSTRG_EPBULKIN=5 -CONFIG_USBSTRG_NRDREQS=2 -CONFIG_USBSTRG_NWRREQS=2 -CONFIG_USBSTRG_BULKINREQLEN=256 -CONFIG_USBSTRG_BULKOUTREQLEN=256 -CONFIG_USBSTRG_VENDORID=0x584e -CONFIG_USBSTRG_VENDORSTR="NuttX" -CONFIG_USBSTRG_PRODUCTID=0x5342 -CONFIG_USBSTRG_PRODUCTSTR="USBdev Storage" -CONFIG_USBSTRG_VERSIONNO=0x0399 -CONFIG_USBSTRG_REMOVABLE=y +CONFIG_USBMSC=n +CONFIG_USBMSC_EP0MAXPACKET=64 +CONFIG_USBMSC_EPBULKOUT=2 +CONFIG_USBMSC_EPBULKIN=5 +CONFIG_USBMSC_NRDREQS=2 +CONFIG_USBMSC_NWRREQS=2 +CONFIG_USBMSC_BULKINREQLEN=256 +CONFIG_USBMSC_BULKOUTREQLEN=256 +CONFIG_USBMSC_VENDORID=0x584e +CONFIG_USBMSC_VENDORSTR="NuttX" +CONFIG_USBMSC_PRODUCTID=0x5342 +CONFIG_USBMSC_PRODUCTSTR="USBdev Storage" +CONFIG_USBMSC_VERSIONNO=0x0399 +CONFIG_USBMSC_REMOVABLE=y # # Settings for examples/uip diff --git a/nuttx/configs/stm3210e-eval/nsh2/defconfig b/nuttx/configs/stm3210e-eval/nsh2/defconfig index 9a3c62ecc..48081b0d3 100644 --- a/nuttx/configs/stm3210e-eval/nsh2/defconfig +++ b/nuttx/configs/stm3210e-eval/nsh2/defconfig @@ -805,44 +805,44 @@ CONFIG_CDCSER_COMPOSITE=y # # USB Storage Device Configuration # -# CONFIG_USBSTRG +# CONFIG_USBMSC # Enable compilation of the USB storage driver -# CONFIG_USBSTRG_COMPOSITE +# CONFIG_USBMSC_COMPOSITE # Configure the mass storage driver as part of a composite driver # (only if CONFIG_USBDEV_COMPOSITE is also defined) -# CONFIG_USBSTRG_EP0MAXPACKET +# CONFIG_USBMSC_EP0MAXPACKET # Max packet size for endpoint 0 -# CONFIG_USBSTRG_EPBULKOUT and CONFIG_USBSTRG_EPBULKIN +# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN # The logical 7-bit address of a hardware endpoints that support # bulk OUT and IN operations -# CONFIG_USBSTRG_NWRREQS and CONFIG_USBSTRG_NRDREQS +# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS # The number of write/read requests that can be in flight -# CONFIG_USBSTRG_BULKINREQLEN and CONFIG_USBSTRG_BULKOUTREQLEN +# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN # The size of the buffer in each write/read request. This # value needs to be at least as large as the endpoint # maxpacket and ideally as large as a block device sector. -# CONFIG_USBSTRG_VENDORID and CONFIG_USBSTRG_VENDORSTR +# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR # The vendor ID code/string -# CONFIG_USBSTRG_PRODUCTID and CONFIG_USBSTRG_PRODUCTSTR +# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR # The product ID code/string -# CONFIG_USBSTRG_REMOVABLE +# CONFIG_USBMSC_REMOVABLE # Select if the media is removable # -CONFIG_USBSTRG=y -CONFIG_USBSTRG_COMPOSITE=y -CONFIG_USBSTRG_EP0MAXPACKET=64 -CONFIG_USBSTRG_EPBULKOUT=2 -CONFIG_USBSTRG_EPBULKIN=5 -CONFIG_USBSTRG_NRDREQS=2 -CONFIG_USBSTRG_NWRREQS=2 -CONFIG_USBSTRG_BULKINREQLEN=256 -CONFIG_USBSTRG_BULKOUTREQLEN=256 -CONFIG_USBSTRG_VENDORID=0x584e -CONFIG_USBSTRG_VENDORSTR="NuttX" -CONFIG_USBSTRG_PRODUCTID=0x5342 -CONFIG_USBSTRG_PRODUCTSTR="USBdev Storage" -CONFIG_USBSTRG_VERSIONNO=0x0399 -CONFIG_USBSTRG_REMOVABLE=y +CONFIG_USBMSC=y +CONFIG_USBMSC_COMPOSITE=y +CONFIG_USBMSC_EP0MAXPACKET=64 +CONFIG_USBMSC_EPBULKOUT=2 +CONFIG_USBMSC_EPBULKIN=5 +CONFIG_USBMSC_NRDREQS=2 +CONFIG_USBMSC_NWRREQS=2 +CONFIG_USBMSC_BULKINREQLEN=256 +CONFIG_USBMSC_BULKOUTREQLEN=256 +CONFIG_USBMSC_VENDORID=0x584e +CONFIG_USBMSC_VENDORSTR="NuttX" +CONFIG_USBMSC_PRODUCTID=0x5342 +CONFIG_USBMSC_PRODUCTSTR="USBdev Storage" +CONFIG_USBMSC_VERSIONNO=0x0399 +CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings @@ -1293,54 +1293,54 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBSTRG_BUILTIN +# CONFIG_EXAMPLES_USBMSC_BUILTIN # This example can be built as two NSH "built-in" commands if this option # is selection: 'msconn' will connect the USB mass storage device; 'msdis' # will disconnect the USB storage device. -# CONFIG_EXAMPLES_USBSTRG_NLUNS +# 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 # of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBSTRG_DEVMINOR1 +# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 # The minor device number of the block driver for the first LUN. For # example, N in /dev/mmcsdN. Used for registering the block driver. Default # is zero. -# CONFIG_EXAMPLES_USBSTRG_DEVPATH1 +# CONFIG_EXAMPLES_USBMSC_DEVPATH1 # The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBSTRG_DEVMINOR2 and CONFIG_EXAMPLES_USBSTRG_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBSTRG_NLUNS +# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 +# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS # is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBSTRG_DEVMINOR3 and CONFIG_EXAMPLES_USBSTRG_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBSTRG_NLUNS +# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 +# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS # is 3. No defaults. -# CONFIG_EXAMPLES_USBSTRG_DEBUGMM +# CONFIG_EXAMPLES_USBMSC_DEBUGMM # Enables some debug tests to check for memory usage and memory leaks. # # If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then # the example code will also manage the USB trace output. The amount of trace output # can be controlled using: # -# CONFIG_EXAMPLES_USBSTRG_TRACEINIT +# CONFIG_EXAMPLES_USBMSC_TRACEINIT # Show initialization events -# CONFIG_EXAMPLES_USBSTRG_TRACECLASS +# CONFIG_EXAMPLES_USBMSC_TRACECLASS # Show class driver events -# CONFIG_EXAMPLES_USBSTRG_TRACETRANSFERS +# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS # Show data transfer events -# CONFIG_EXAMPLES_USBSTRG_TRACECONTROLLER +# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER # Show controller events -# CONFIG_EXAMPLES_USBSTRG_TRACEINTERRUPTS +# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS # Show interrupt-related events. # -CONFIG_EXAMPLES_USBSTRG_BUILTIN=y -CONFIG_EXAMPLES_USBSTRG_NLUNS=1 -CONFIG_EXAMPLES_USBSTRG_DEVMINOR1=0 -CONFIG_EXAMPLES_USBSTRG_DEVPATH1="/dev/mmcsd0" -CONFIG_EXAMPLES_USBSTRG_DEBUGMM=n -CONFIG_EXAMPLES_USBSTRG_TRACEINIT=n -CONFIG_EXAMPLES_USBSTRG_TRACECLASS=n -CONFIG_EXAMPLES_USBSTRG_TRACETRANSFERS=n -CONFIG_EXAMPLES_USBSTRG_TRACECONTROLLER=n -CONFIG_EXAMPLES_USBSTRG_TRACEINTERRUPTS=n +CONFIG_EXAMPLES_USBMSC_BUILTIN=y +CONFIG_EXAMPLES_USBMSC_NLUNS=1 +CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 +CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" +CONFIG_EXAMPLES_USBMSC_DEBUGMM=n +CONFIG_EXAMPLES_USBMSC_TRACEINIT=n +CONFIG_EXAMPLES_USBMSC_TRACECLASS=n +CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n +CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n +CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information diff --git a/nuttx/configs/stm3210e-eval/nx/defconfig b/nuttx/configs/stm3210e-eval/nx/defconfig index 94d843fb9..9970b27a5 100644 --- a/nuttx/configs/stm3210e-eval/nx/defconfig +++ b/nuttx/configs/stm3210e-eval/nx/defconfig @@ -717,40 +717,40 @@ CONFIG_USBSER_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBSTRG +# CONFIG_USBMSC # Enable compilation of the USB storage driver -# CONFIG_USBSTRG_EP0MAXPACKET +# CONFIG_USBMSC_EP0MAXPACKET # Max packet size for endpoint 0 -# CONFIG_USBSTRG_EPBULKOUT and CONFIG_USBSTRG_EPBULKIN +# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN # The logical 7-bit address of a hardware endpoints that support # bulk OUT and IN operations -# CONFIG_USBSTRG_NWRREQS and CONFIG_USBSTRG_NRDREQS +# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS # The number of write/read requests that can be in flight -# CONFIG_USBSTRG_BULKINREQLEN and CONFIG_USBSTRG_BULKOUTREQLEN +# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN # The size of the buffer in each write/read request. This # value needs to be at least as large as the endpoint # maxpacket and ideally as large as a block device sector. -# CONFIG_USBSTRG_VENDORID and CONFIG_USBSTRG_VENDORSTR +# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR # The vendor ID code/string -# CONFIG_USBSTRG_PRODUCTID and CONFIG_USBSTRG_PRODUCTSTR +# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR # The product ID code/string -# CONFIG_USBSTRG_REMOVABLE +# CONFIG_USBMSC_REMOVABLE # Select if the media is removable # -CONFIG_USBSTRG=n -CONFIG_USBSTRG_EP0MAXPACKET=64 -CONFIG_USBSTRG_EPBULKOUT=2 -CONFIG_USBSTRG_EPBULKIN=5 -CONFIG_USBSTRG_NRDREQS=2 -CONFIG_USBSTRG_NWRREQS=2 -CONFIG_USBSTRG_BULKINREQLEN=256 -CONFIG_USBSTRG_BULKOUTREQLEN=256 -CONFIG_USBSTRG_VENDORID=0x584e -CONFIG_USBSTRG_VENDORSTR="NuttX" -CONFIG_USBSTRG_PRODUCTID=0x5342 -CONFIG_USBSTRG_PRODUCTSTR="USBdev Storage" -CONFIG_USBSTRG_VERSIONNO=0x0399 -CONFIG_USBSTRG_REMOVABLE=y +CONFIG_USBMSC=n +CONFIG_USBMSC_EP0MAXPACKET=64 +CONFIG_USBMSC_EPBULKOUT=2 +CONFIG_USBMSC_EPBULKIN=5 +CONFIG_USBMSC_NRDREQS=2 +CONFIG_USBMSC_NWRREQS=2 +CONFIG_USBMSC_BULKINREQLEN=256 +CONFIG_USBMSC_BULKOUTREQLEN=256 +CONFIG_USBMSC_VENDORID=0x584e +CONFIG_USBMSC_VENDORSTR="NuttX" +CONFIG_USBMSC_PRODUCTID=0x5342 +CONFIG_USBMSC_PRODUCTSTR="USBdev Storage" +CONFIG_USBMSC_VERSIONNO=0x0399 +CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings diff --git a/nuttx/configs/stm3210e-eval/nxlines/defconfig b/nuttx/configs/stm3210e-eval/nxlines/defconfig index 0ed46b6ad..f21b4fbef 100644 --- a/nuttx/configs/stm3210e-eval/nxlines/defconfig +++ b/nuttx/configs/stm3210e-eval/nxlines/defconfig @@ -717,40 +717,40 @@ CONFIG_USBSER_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBSTRG +# CONFIG_USBMSC # Enable compilation of the USB storage driver -# CONFIG_USBSTRG_EP0MAXPACKET +# CONFIG_USBMSC_EP0MAXPACKET # Max packet size for endpoint 0 -# CONFIG_USBSTRG_EPBULKOUT and CONFIG_USBSTRG_EPBULKIN +# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN # The logical 7-bit address of a hardware endpoints that support # bulk OUT and IN operations -# CONFIG_USBSTRG_NWRREQS and CONFIG_USBSTRG_NRDREQS +# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS # The number of write/read requests that can be in flight -# CONFIG_USBSTRG_BULKINREQLEN and CONFIG_USBSTRG_BULKOUTREQLEN +# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN # The size of the buffer in each write/read request. This # value needs to be at least as large as the endpoint # maxpacket and ideally as large as a block device sector. -# CONFIG_USBSTRG_VENDORID and CONFIG_USBSTRG_VENDORSTR +# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR # The vendor ID code/string -# CONFIG_USBSTRG_PRODUCTID and CONFIG_USBSTRG_PRODUCTSTR +# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR # The product ID code/string -# CONFIG_USBSTRG_REMOVABLE +# CONFIG_USBMSC_REMOVABLE # Select if the media is removable # -CONFIG_USBSTRG=n -CONFIG_USBSTRG_EP0MAXPACKET=64 -CONFIG_USBSTRG_EPBULKOUT=2 -CONFIG_USBSTRG_EPBULKIN=5 -CONFIG_USBSTRG_NRDREQS=2 -CONFIG_USBSTRG_NWRREQS=2 -CONFIG_USBSTRG_BULKINREQLEN=256 -CONFIG_USBSTRG_BULKOUTREQLEN=256 -CONFIG_USBSTRG_VENDORID=0x584e -CONFIG_USBSTRG_VENDORSTR="NuttX" -CONFIG_USBSTRG_PRODUCTID=0x5342 -CONFIG_USBSTRG_PRODUCTSTR="USBdev Storage" -CONFIG_USBSTRG_VERSIONNO=0x0399 -CONFIG_USBSTRG_REMOVABLE=y +CONFIG_USBMSC=n +CONFIG_USBMSC_EP0MAXPACKET=64 +CONFIG_USBMSC_EPBULKOUT=2 +CONFIG_USBMSC_EPBULKIN=5 +CONFIG_USBMSC_NRDREQS=2 +CONFIG_USBMSC_NWRREQS=2 +CONFIG_USBMSC_BULKINREQLEN=256 +CONFIG_USBMSC_BULKOUTREQLEN=256 +CONFIG_USBMSC_VENDORID=0x584e +CONFIG_USBMSC_VENDORSTR="NuttX" +CONFIG_USBMSC_PRODUCTID=0x5342 +CONFIG_USBMSC_PRODUCTSTR="USBdev Storage" +CONFIG_USBMSC_VERSIONNO=0x0399 +CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings diff --git a/nuttx/configs/stm3210e-eval/nxtext/defconfig b/nuttx/configs/stm3210e-eval/nxtext/defconfig index e48a147c9..036c73ac3 100644 --- a/nuttx/configs/stm3210e-eval/nxtext/defconfig +++ b/nuttx/configs/stm3210e-eval/nxtext/defconfig @@ -717,40 +717,40 @@ CONFIG_USBSER_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBSTRG +# CONFIG_USBMSC # Enable compilation of the USB storage driver -# CONFIG_USBSTRG_EP0MAXPACKET +# CONFIG_USBMSC_EP0MAXPACKET # Max packet size for endpoint 0 -# CONFIG_USBSTRG_EPBULKOUT and CONFIG_USBSTRG_EPBULKIN +# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN # The logical 7-bit address of a hardware endpoints that support # bulk OUT and IN operations -# CONFIG_USBSTRG_NWRREQS and CONFIG_USBSTRG_NRDREQS +# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS # The number of write/read requests that can be in flight -# CONFIG_USBSTRG_BULKINREQLEN and CONFIG_USBSTRG_BULKOUTREQLEN +# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN # The size of the buffer in each write/read request. This # value needs to be at least as large as the endpoint # maxpacket and ideally as large as a block device sector. -# CONFIG_USBSTRG_VENDORID and CONFIG_USBSTRG_VENDORSTR +# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR # The vendor ID code/string -# CONFIG_USBSTRG_PRODUCTID and CONFIG_USBSTRG_PRODUCTSTR +# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR # The product ID code/string -# CONFIG_USBSTRG_REMOVABLE +# CONFIG_USBMSC_REMOVABLE # Select if the media is removable # -CONFIG_USBSTRG=n -CONFIG_USBSTRG_EP0MAXPACKET=64 -CONFIG_USBSTRG_EPBULKOUT=2 -CONFIG_USBSTRG_EPBULKIN=5 -CONFIG_USBSTRG_NRDREQS=2 -CONFIG_USBSTRG_NWRREQS=2 -CONFIG_USBSTRG_BULKINREQLEN=256 -CONFIG_USBSTRG_BULKOUTREQLEN=256 -CONFIG_USBSTRG_VENDORID=0x584e -CONFIG_USBSTRG_VENDORSTR="NuttX" -CONFIG_USBSTRG_PRODUCTID=0x5342 -CONFIG_USBSTRG_PRODUCTSTR="USBdev Storage" -CONFIG_USBSTRG_VERSIONNO=0x0399 -CONFIG_USBSTRG_REMOVABLE=y +CONFIG_USBMSC=n +CONFIG_USBMSC_EP0MAXPACKET=64 +CONFIG_USBMSC_EPBULKOUT=2 +CONFIG_USBMSC_EPBULKIN=5 +CONFIG_USBMSC_NRDREQS=2 +CONFIG_USBMSC_NWRREQS=2 +CONFIG_USBMSC_BULKINREQLEN=256 +CONFIG_USBMSC_BULKOUTREQLEN=256 +CONFIG_USBMSC_VENDORID=0x584e +CONFIG_USBMSC_VENDORSTR="NuttX" +CONFIG_USBMSC_PRODUCTID=0x5342 +CONFIG_USBMSC_PRODUCTSTR="USBdev Storage" +CONFIG_USBMSC_VERSIONNO=0x0399 +CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings diff --git a/nuttx/configs/stm3210e-eval/ostest/defconfig b/nuttx/configs/stm3210e-eval/ostest/defconfig index 14a3542db..ca1ea021a 100755 --- a/nuttx/configs/stm3210e-eval/ostest/defconfig +++ b/nuttx/configs/stm3210e-eval/ostest/defconfig @@ -721,40 +721,40 @@ CONFIG_USBSER_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBSTRG +# CONFIG_USBMSC # Enable compilation of the USB storage driver -# CONFIG_USBSTRG_EP0MAXPACKET +# CONFIG_USBMSC_EP0MAXPACKET # Max packet size for endpoint 0 -# CONFIG_USBSTRG_EPBULKOUT and CONFIG_USBSTRG_EPBULKIN +# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN # The logical 7-bit address of a hardware endpoints that support # bulk OUT and IN operations -# CONFIG_USBSTRG_NWRREQS and CONFIG_USBSTRG_NRDREQS +# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS # The number of write/read requests that can be in flight -# CONFIG_USBSTRG_BULKINREQLEN and CONFIG_USBSTRG_BULKOUTREQLEN +# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN # The size of the buffer in each write/read request. This # value needs to be at least as large as the endpoint # maxpacket and ideally as large as a block device sector. -# CONFIG_USBSTRG_VENDORID and CONFIG_USBSTRG_VENDORSTR +# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR # The vendor ID code/string -# CONFIG_USBSTRG_PRODUCTID and CONFIG_USBSTRG_PRODUCTSTR +# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR # The product ID code/string -# CONFIG_USBSTRG_REMOVABLE +# CONFIG_USBMSC_REMOVABLE # Select if the media is removable # -CONFIG_USBSTRG=n -CONFIG_USBSTRG_EP0MAXPACKET=64 -CONFIG_USBSTRG_EPBULKOUT=2 -CONFIG_USBSTRG_EPBULKIN=5 -CONFIG_USBSTRG_NRDREQS=2 -CONFIG_USBSTRG_NWRREQS=2 -CONFIG_USBSTRG_BULKINREQLEN=256 -CONFIG_USBSTRG_BULKOUTREQLEN=256 -CONFIG_USBSTRG_VENDORID=0x584e -CONFIG_USBSTRG_VENDORSTR="NuttX" -CONFIG_USBSTRG_PRODUCTID=0x5342 -CONFIG_USBSTRG_PRODUCTSTR="USBdev Storage" -CONFIG_USBSTRG_VERSIONNO=0x0399 -CONFIG_USBSTRG_REMOVABLE=y +CONFIG_USBMSC=n +CONFIG_USBMSC_EP0MAXPACKET=64 +CONFIG_USBMSC_EPBULKOUT=2 +CONFIG_USBMSC_EPBULKIN=5 +CONFIG_USBMSC_NRDREQS=2 +CONFIG_USBMSC_NWRREQS=2 +CONFIG_USBMSC_BULKINREQLEN=256 +CONFIG_USBMSC_BULKOUTREQLEN=256 +CONFIG_USBMSC_VENDORID=0x584e +CONFIG_USBMSC_VENDORSTR="NuttX" +CONFIG_USBMSC_PRODUCTID=0x5342 +CONFIG_USBMSC_PRODUCTSTR="USBdev Storage" +CONFIG_USBMSC_VERSIONNO=0x0399 +CONFIG_USBMSC_REMOVABLE=y # # Settings for examples/uip diff --git a/nuttx/configs/stm3210e-eval/src/Makefile b/nuttx/configs/stm3210e-eval/src/Makefile index e949e7208..7c93a2d32 100644 --- a/nuttx/configs/stm3210e-eval/src/Makefile +++ b/nuttx/configs/stm3210e-eval/src/Makefile @@ -56,8 +56,8 @@ ifeq ($(CONFIG_ADC),y) CSRCS += up_adc.c endif -ifeq ($(CONFIG_USBSTRG),y) -CSRCS += up_usbstrg.c +ifeq ($(CONFIG_USBMSC),y) +CSRCS += up_usbmsc.c endif ifeq ($(CONFIG_I2C_LM75),y) diff --git a/nuttx/configs/stm3210e-eval/src/up_usbstrg.c b/nuttx/configs/stm3210e-eval/src/up_usbmsc.c index f7ba205cc..4f788579c 100644 --- a/nuttx/configs/stm3210e-eval/src/up_usbstrg.c +++ b/nuttx/configs/stm3210e-eval/src/up_usbmsc.c @@ -1,5 +1,5 @@ /**************************************************************************** - * configs/stm3210e-eval/src/up_usbstrg.c + * configs/stm3210e-eval/src/up_usbmsc.c * * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> @@ -60,8 +60,8 @@ /* Configuration ************************************************************/ -#ifndef CONFIG_EXAMPLES_USBSTRG_DEVMINOR1 -# define CONFIG_EXAMPLES_USBSTRG_DEVMINOR1 0 +#ifndef CONFIG_EXAMPLES_USBMSC_DEVMINOR1 +# define CONFIG_EXAMPLES_USBMSC_DEVMINOR1 0 #endif /* SLOT number(s) could depend on the board configuration */ @@ -100,53 +100,53 @@ ****************************************************************************/ /**************************************************************************** - * Name: usbstrg_archinitialize + * Name: usbmsc_archinitialize * * Description: * Perform architecture specific initialization * ****************************************************************************/ -int usbstrg_archinitialize(void) +int usbmsc_archinitialize(void) { - /* If examples/usbstrg is built as an NSH command, then SD slot should + /* If examples/usbmsc is built as an NSH command, then SD slot should * already have been initized in nsh_archinitialize() (see up_nsh.c). In * this case, there is nothing further to be done here. */ -#ifndef CONFIG_EXAMPLES_USBSTRG_BUILTIN +#ifndef CONFIG_EXAMPLES_USBMSC_BUILTIN FAR struct sdio_dev_s *sdio; int ret; /* First, get an instance of the SDIO interface */ - message("usbstrg_archinitialize: " + message("usbmsc_archinitialize: " "Initializing SDIO slot %d\n", STM32_MMCSDSLOTNO); sdio = sdio_initialize(STM32_MMCSDSLOTNO); if (!sdio) { - message("usbstrg_archinitialize: Failed to initialize SDIO slot %d\n", + message("usbmsc_archinitialize: Failed to initialize SDIO slot %d\n", STM32_MMCSDSLOTNO); return -ENODEV; } /* Now bind the SDIO interface to the MMC/SD driver */ - message("usbstrg_archinitialize: " + message("usbmsc_archinitialize: " "Bind SDIO to the MMC/SD driver, minor=%d\n", - CONFIG_EXAMPLES_USBSTRG_DEVMINOR1); + CONFIG_EXAMPLES_USBMSC_DEVMINOR1); - ret = mmcsd_slotinitialize(CONFIG_EXAMPLES_USBSTRG_DEVMINOR1, sdio); + ret = mmcsd_slotinitialize(CONFIG_EXAMPLES_USBMSC_DEVMINOR1, sdio); if (ret != OK) { - message("usbstrg_archinitialize: " + message("usbmsc_archinitialize: " "Failed to bind SDIO to the MMC/SD driver: %d\n", ret); return ret; } - message("usbstrg_archinitialize: " + message("usbmsc_archinitialize: " "Successfully bound SDIO to the MMC/SD driver\n"); /* Then let's guess and say that there is a card in the slot. I need to check to @@ -156,7 +156,7 @@ int usbstrg_archinitialize(void) sdio_mediachange(sdio, true); -#endif /* CONFIG_EXAMPLES_USBSTRG_BUILTIN */ +#endif /* CONFIG_EXAMPLES_USBMSC_BUILTIN */ return OK; } diff --git a/nuttx/configs/stm3210e-eval/usbserial/defconfig b/nuttx/configs/stm3210e-eval/usbserial/defconfig index 02ff773ad..a6ebfe756 100755 --- a/nuttx/configs/stm3210e-eval/usbserial/defconfig +++ b/nuttx/configs/stm3210e-eval/usbserial/defconfig @@ -771,44 +771,44 @@ CONFIG_CDCSER_COMPOSITE=y # USB Storage Device Configuration # -# CONFIG_USBSTRG +# CONFIG_USBMSC # Enable compilation of the USB storage driver -# CONFIG_USBSTRG_COMPOSITE +# CONFIG_USBMSC_COMPOSITE # Configure the mass storage driver as part of a composite driver # (only if CONFIG_USBDEV_COMPOSITE is also defined) -# CONFIG_USBSTRG_EP0MAXPACKET +# CONFIG_USBMSC_EP0MAXPACKET # Max packet size for endpoint 0 -# CONFIG_USBSTRG_EPBULKOUT and CONFIG_USBSTRG_EPBULKIN +# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN # The logical 7-bit address of a hardware endpoints that support # bulk OUT and IN operations -# CONFIG_USBSTRG_NWRREQS and CONFIG_USBSTRG_NRDREQS +# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS # The number of write/read requests that can be in flight -# CONFIG_USBSTRG_BULKINREQLEN and CONFIG_USBSTRG_BULKOUTREQLEN +# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN # The size of the buffer in each write/read request. This # value needs to be at least as large as the endpoint # maxpacket and ideally as large as a block device sector. -# CONFIG_USBSTRG_VENDORID and CONFIG_USBSTRG_VENDORSTR +# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR # The vendor ID code/string -# CONFIG_USBSTRG_PRODUCTID and CONFIG_USBSTRG_PRODUCTSTR +# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR # The product ID code/string -# CONFIG_USBSTRG_REMOVABLE +# CONFIG_USBMSC_REMOVABLE # Select if the media is removable # -CONFIG_USBSTRG=n -CONFIG_USBSTRG_COMPOSITE=y -CONFIG_USBSTRG_EP0MAXPACKET=64 -CONFIG_USBSTRG_EPBULKOUT=2 -CONFIG_USBSTRG_EPBULKIN=5 -CONFIG_USBSTRG_NRDREQS=2 -CONFIG_USBSTRG_NWRREQS=2 -CONFIG_USBSTRG_BULKINREQLEN=256 -CONFIG_USBSTRG_BULKOUTREQLEN=256 -CONFIG_USBSTRG_VENDORID=0x584e -CONFIG_USBSTRG_VENDORSTR="NuttX" -CONFIG_USBSTRG_PRODUCTID=0x5342 -CONFIG_USBSTRG_PRODUCTSTR="USBdev Storage" -CONFIG_USBSTRG_VERSIONNO=0x0399 -CONFIG_USBSTRG_REMOVABLE=y +CONFIG_USBMSC=n +CONFIG_USBMSC_COMPOSITE=y +CONFIG_USBMSC_EP0MAXPACKET=64 +CONFIG_USBMSC_EPBULKOUT=2 +CONFIG_USBMSC_EPBULKIN=5 +CONFIG_USBMSC_NRDREQS=2 +CONFIG_USBMSC_NWRREQS=2 +CONFIG_USBMSC_BULKINREQLEN=256 +CONFIG_USBMSC_BULKOUTREQLEN=256 +CONFIG_USBMSC_VENDORID=0x584e +CONFIG_USBMSC_VENDORSTR="NuttX" +CONFIG_USBMSC_PRODUCTID=0x5342 +CONFIG_USBMSC_PRODUCTSTR="USBdev Storage" +CONFIG_USBMSC_VERSIONNO=0x0399 +CONFIG_USBMSC_REMOVABLE=y # # Settings for examples/uip diff --git a/nuttx/configs/stm3210e-eval/usbstorage/defconfig b/nuttx/configs/stm3210e-eval/usbstorage/defconfig index 9d4557ab9..ad082b9d6 100755 --- a/nuttx/configs/stm3210e-eval/usbstorage/defconfig +++ b/nuttx/configs/stm3210e-eval/usbstorage/defconfig @@ -708,40 +708,40 @@ CONFIG_USBSER_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBSTRG +# CONFIG_USBMSC # Enable compilation of the USB storage driver -# CONFIG_USBSTRG_EP0MAXPACKET +# CONFIG_USBMSC_EP0MAXPACKET # Max packet size for endpoint 0 -# CONFIG_USBSTRG_EPBULKOUT and CONFIG_USBSTRG_EPBULKIN +# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN # The logical 7-bit address of a hardware endpoints that support # bulk OUT and IN operations -# CONFIG_USBSTRG_NWRREQS and CONFIG_USBSTRG_NRDREQS +# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS # The number of write/read requests that can be in flight -# CONFIG_USBSTRG_BULKINREQLEN and CONFIG_USBSTRG_BULKOUTREQLEN +# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN # The size of the buffer in each write/read request. This # value needs to be at least as large as the endpoint # maxpacket and ideally as large as a block device sector. -# CONFIG_USBSTRG_VENDORID and CONFIG_USBSTRG_VENDORSTR +# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR # The vendor ID code/string -# CONFIG_USBSTRG_PRODUCTID and CONFIG_USBSTRG_PRODUCTSTR +# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR # The product ID code/string -# CONFIG_USBSTRG_REMOVABLE +# CONFIG_USBMSC_REMOVABLE # Select if the media is removable # -CONFIG_USBSTRG=y -CONFIG_USBSTRG_EP0MAXPACKET=64 -CONFIG_USBSTRG_EPBULKOUT=2 -CONFIG_USBSTRG_EPBULKIN=5 -CONFIG_USBSTRG_NRDREQS=2 -CONFIG_USBSTRG_NWRREQS=2 -CONFIG_USBSTRG_BULKINREQLEN=256 -CONFIG_USBSTRG_BULKOUTREQLEN=256 -CONFIG_USBSTRG_VENDORID=0x584e -CONFIG_USBSTRG_VENDORSTR="NuttX" -CONFIG_USBSTRG_PRODUCTID=0x5342 -CONFIG_USBSTRG_PRODUCTSTR="USBdev Storage" -CONFIG_USBSTRG_VERSIONNO=0x0399 -CONFIG_USBSTRG_REMOVABLE=y +CONFIG_USBMSC=y +CONFIG_USBMSC_EP0MAXPACKET=64 +CONFIG_USBMSC_EPBULKOUT=2 +CONFIG_USBMSC_EPBULKIN=5 +CONFIG_USBMSC_NRDREQS=2 +CONFIG_USBMSC_NWRREQS=2 +CONFIG_USBMSC_BULKINREQLEN=256 +CONFIG_USBMSC_BULKOUTREQLEN=256 +CONFIG_USBMSC_VENDORID=0x584e +CONFIG_USBMSC_VENDORSTR="NuttX" +CONFIG_USBMSC_PRODUCTID=0x5342 +CONFIG_USBMSC_PRODUCTSTR="USBdev Storage" +CONFIG_USBMSC_VERSIONNO=0x0399 +CONFIG_USBMSC_REMOVABLE=y # # Settings for examples/uip @@ -868,54 +868,54 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBSTRG_BUILTIN +# CONFIG_EXAMPLES_USBMSC_BUILTIN # This example can be built as two NSH "built-in" commands if this option # is selection: 'msconn' will connect the USB mass storage device; 'msdis' # will disconnect the USB storage device. -# CONFIG_EXAMPLES_USBSTRG_NLUNS +# 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 # of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBSTRG_DEVMINOR1 +# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 # The minor device number of the block driver for the first LUN. For # example, N in /dev/mmcsdN. Used for registering the block driver. Default # is zero. -# CONFIG_EXAMPLES_USBSTRG_DEVPATH1 +# CONFIG_EXAMPLES_USBMSC_DEVPATH1 # The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBSTRG_DEVMINOR2 and CONFIG_EXAMPLES_USBSTRG_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBSTRG_NLUNS +# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 +# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS # is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBSTRG_DEVMINOR3 and CONFIG_EXAMPLES_USBSTRG_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBSTRG_NLUNS +# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 +# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS # is 3. No defaults. -# CONFIG_EXAMPLES_USBSTRG_DEBUGMM +# CONFIG_EXAMPLES_USBMSC_DEBUGMM # Enables some debug tests to check for memory usage and memory leaks. # # If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then # the example code will also manage the USB trace output. The amount of trace output # can be controlled using: # -# CONFIG_EXAMPLES_USBSTRG_TRACEINIT +# CONFIG_EXAMPLES_USBMSC_TRACEINIT # Show initialization events -# CONFIG_EXAMPLES_USBSTRG_TRACECLASS +# CONFIG_EXAMPLES_USBMSC_TRACECLASS # Show class driver events -# CONFIG_EXAMPLES_USBSTRG_TRACETRANSFERS +# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS # Show data transfer events -# CONFIG_EXAMPLES_USBSTRG_TRACECONTROLLER +# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER # Show controller events -# CONFIG_EXAMPLES_USBSTRG_TRACEINTERRUPTS +# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS # Show interrupt-related events. # -CONFIG_EXAMPLES_USBSTRG_BUILTIN=n -CONFIG_EXAMPLES_USBSTRG_NLUNS=1 -CONFIG_EXAMPLES_USBSTRG_DEVMINOR1=0 -CONFIG_EXAMPLES_USBSTRG_DEVPATH1="/dev/mmcsd0" -CONFIG_EXAMPLES_USBSTRG_DEBUGMM=n -CONFIG_EXAMPLES_USBSTRG_TRACEINIT=n -CONFIG_EXAMPLES_USBSTRG_TRACECLASS=n -CONFIG_EXAMPLES_USBSTRG_TRACETRANSFERS=n -CONFIG_EXAMPLES_USBSTRG_TRACECONTROLLER=n -CONFIG_EXAMPLES_USBSTRG_TRACEINTERRUPTS=n +CONFIG_EXAMPLES_USBMSC_BUILTIN=n +CONFIG_EXAMPLES_USBMSC_NLUNS=1 +CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 +CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" +CONFIG_EXAMPLES_USBMSC_DEBUGMM=n +CONFIG_EXAMPLES_USBMSC_TRACEINIT=n +CONFIG_EXAMPLES_USBMSC_TRACECLASS=n +CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n +CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n +CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information |