mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 09:23:33 +08:00
Tried to get the Composite driver working on the LPC2148 (and failed)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4362 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -131,7 +131,7 @@ examples/composite
|
||||
CONFIG_CDCACM_EPBULKOUT=3
|
||||
|
||||
CONFIG_USBMSC - USB mass storage device support
|
||||
CONFIG_USBMSC_COMPOSITE - USB mass storage composite device support
|
||||
CONFIG_USBMSC_COMPOSITE=y - USB mass storage composite device support
|
||||
CONFIG_USBMSC_IFNOBASE=2 - USB mass storage interfaces start with number 2
|
||||
CONFIG_USBMSC_STRBASE=4 - Base of string numbers (needed)
|
||||
CONFIG_USBMSC_EPBULKOUT=4 - Endpoint numbers must be unique
|
||||
@@ -170,7 +170,7 @@ examples/composite
|
||||
CCONFIG_EXAMPLES_COMPOSITE_SERDEV - The string corresponding to
|
||||
CONFIG_EXAMPLES_COMPOSITE_TTYUSB. The default is "/dev/ttyUSB0".
|
||||
CONFIG_EXAMPLES_COMPOSITE_BUFSIZE - The size of the serial I/O buffer in
|
||||
bytes. Default 256 byters.
|
||||
bytes. Default 256 bytes.
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user