From 15485cd30660692fc9cb53536d345e000e2ede38 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 30 Sep 2008 00:52:03 +0000 Subject: [PATCH] Add usb trace capability git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@963 42af7a65-404d-4744-a932-0658087f49c3 --- configs/mcu123-lpc214x/nsh/defconfig | 84 +++++++++++++++++++++++++ configs/mcu123-lpc214x/ostest/defconfig | 84 +++++++++++++++++++++++++ configs/ntosd-dm320/nettest/defconfig | 76 ++++++++++++++++++++++ configs/ntosd-dm320/nsh/defconfig | 76 ++++++++++++++++++++++ configs/ntosd-dm320/ostest/defconfig | 76 ++++++++++++++++++++++ configs/ntosd-dm320/udp/defconfig | 76 ++++++++++++++++++++++ configs/ntosd-dm320/uip/defconfig | 76 ++++++++++++++++++++++ 7 files changed, 548 insertions(+) diff --git a/configs/mcu123-lpc214x/nsh/defconfig b/configs/mcu123-lpc214x/nsh/defconfig index ddbfe328d0..cc1ded74a2 100644 --- a/configs/mcu123-lpc214x/nsh/defconfig +++ b/configs/mcu123-lpc214x/nsh/defconfig @@ -327,6 +327,90 @@ CONFIG_NET_BROADCAST=n CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 +# +# USB Device Configuration +# +# CONFIG_USBDEV +# Enables USB device support +# CONFIG_USBDEV_ISOCHRONOUS +# Build in extra support for isochronous endpoints +# CONFIG_USBDEV_DUALSPEED +# Hardware handles high and full speed operation (USB 2.0) +# CONFIG_USBDEV_SELFPOWERED +# Will cause USB features to indicate that the device is +# self-powered +# CONFIG_USBDEV_MAXPOWER +# Maximum power consumption in mA +# CONFIG_USBDEV_TRACE +# Enables USB tracing for debug +# CONFIG_USBDEV_TRACE_NRECORDS +# Number of trace entries to remember +CONFIG_USBDEV=n +CONFIG_USBDEV_ISOCHRONOUS=n +CONFIG_USBDEV_DUALSPEED=n +CONFIG_USBDEV_SELFPOWERED=y +CONFIG_USBDEV_MAXPOWER=100 +CONFIG_USBDEV_TRACE=n +CONFIG_USBDEV_TRACE_NRECORDS=128 + +# +# LPC214X USB Configuration +# +# CONFIG_LPC214X_USBDEV_FRAME_INTERRUPT +# Handle USB Start-Of-Frame events. +# Enable reading SOF from interrupt handler vs. simply reading on demand. +# Probably a bad idea... Unless there is some issue with sampling the SOF +# from hardware asynchronously. +# CONFIG_LPC214X_USBDEV_EPFAST_INTERRUPT +# Enable high priority interrupts. I have no idea why you might want to +# do that +# CONFIG_LPC214X_USBDEV_NDMADESCRIPTORS +# Number of DMA descriptors to allocate in the 8Kb USB RAM. This is a +# tradeoff between the number of DMA channels that can be supported vs +# the size of the DMA buffers available. +# CONFIG_LPC214X_USBDEV_DMA +# Enable lpc214x-specific DMA support +CONFIG_LPC214X_USBDEV_FRAME_INTERRUPT=n +CONFIG_LPC214X_USBDEV_EPFAST_INTERRUPT=n +CONFIG_LPC214X_USBDEV_DMA=n +CONFIG_LPC214X_USBDEV_NDMADESCRIPTORS=0 +CONFIG_LPC214X_USBDEV_DMAINTMASK=0 + +# +# USB Serial Device Configuration +# +# CONFIG_USBSERIAL_EPOUT +# CONFIG_USBSERIAL_EPIN +# CONFIG_USBSERIAL_NWRREQS +# The number of write requests that can be in flight +# CONFIG_USBSERIAL_NRDREQS +# The number of read requests that can be in flight +# CONFIG_USBSERIAL_RXBUFSIZE +# Size of the serial receive buffer +# CONFIG_USBSERIAL_TXBUFSIZE +# Size of the serial transmit buffer +# CONFIG_USBSER_VENDORID +# The vendor ID code +# CONFIG_USBSER_PRODUCTID +# The product ID code +CONFIG_USBSERIAL_EPOUT=1 +CONFIG_USBSERIAL_EPIN=2 +CONFIG_USBSERIAL_NWRREQS=4 +CONFIG_USBSERIAL_NRDREQS=4 +CONFIG_USBSER_VENDORID=0x0525 +CONFIG_USBSER_PRODUCTID=0xa4a6 +CONFIG_USBSERIAL_RXBUFSIZE=512 +CONFIG_USBSERIAL_TXBUFSIZE=512 + +# +# USB Device Zero Configuration +# CONFIG_USBSER_VENDORID +# The vendor ID code +# CONFIG_USBSER_PRODUCTID +# The product ID code +CONFIG_USBZERO_VENDORID=0x0525 +CONFIG_USBZERO_PRODUCTID=0xa4a0 + # # Settings for examples/ostest CONFIG_EXAMPLES_OSTEST_LOOPS=1 diff --git a/configs/mcu123-lpc214x/ostest/defconfig b/configs/mcu123-lpc214x/ostest/defconfig index 702178fe2f..57f146d2ee 100644 --- a/configs/mcu123-lpc214x/ostest/defconfig +++ b/configs/mcu123-lpc214x/ostest/defconfig @@ -327,6 +327,90 @@ CONFIG_NET_BROADCAST=n CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 +# +# USB Device Configuration +# +# CONFIG_USBDEV +# Enables USB device support +# CONFIG_USBDEV_ISOCHRONOUS +# Build in extra support for isochronous endpoints +# CONFIG_USBDEV_DUALSPEED +# Hardware handles high and full speed operation (USB 2.0) +# CONFIG_USBDEV_SELFPOWERED +# Will cause USB features to indicate that the device is +# self-powered +# CONFIG_USBDEV_MAXPOWER +# Maximum power consumption in mA +# CONFIG_USBDEV_TRACE +# Enables USB tracing for debug +# CONFIG_USBDEV_TRACE_NRECORDS +# Number of trace entries to remember +CONFIG_USBDEV=n +CONFIG_USBDEV_ISOCHRONOUS=n +CONFIG_USBDEV_DUALSPEED=n +CONFIG_USBDEV_SELFPOWERED=y +CONFIG_USBDEV_MAXPOWER=100 +CONFIG_USBDEV_TRACE=n +CONFIG_USBDEV_TRACE_NRECORDS=128 + +# +# LPC214X USB Configuration +# +# CONFIG_LPC214X_USBDEV_FRAME_INTERRUPT +# Handle USB Start-Of-Frame events. +# Enable reading SOF from interrupt handler vs. simply reading on demand. +# Probably a bad idea... Unless there is some issue with sampling the SOF +# from hardware asynchronously. +# CONFIG_LPC214X_USBDEV_EPFAST_INTERRUPT +# Enable high priority interrupts. I have no idea why you might want to +# do that +# CONFIG_LPC214X_USBDEV_NDMADESCRIPTORS +# Number of DMA descriptors to allocate in the 8Kb USB RAM. This is a +# tradeoff between the number of DMA channels that can be supported vs +# the size of the DMA buffers available. +# CONFIG_LPC214X_USBDEV_DMA +# Enable lpc214x-specific DMA support +CONFIG_LPC214X_USBDEV_FRAME_INTERRUPT=n +CONFIG_LPC214X_USBDEV_EPFAST_INTERRUPT=n +CONFIG_LPC214X_USBDEV_DMA=n +CONFIG_LPC214X_USBDEV_NDMADESCRIPTORS=0 +CONFIG_LPC214X_USBDEV_DMAINTMASK=0 + +# +# USB Serial Device Configuration +# +# CONFIG_USBSERIAL_EPOUT +# CONFIG_USBSERIAL_EPIN +# CONFIG_USBSERIAL_NWRREQS +# The number of write requests that can be in flight +# CONFIG_USBSERIAL_NRDREQS +# The number of read requests that can be in flight +# CONFIG_USBSERIAL_RXBUFSIZE +# Size of the serial receive buffer +# CONFIG_USBSERIAL_TXBUFSIZE +# Size of the serial transmit buffer +# CONFIG_USBSER_VENDORID +# The vendor ID code +# CONFIG_USBSER_PRODUCTID +# The product ID code +CONFIG_USBSERIAL_EPOUT=1 +CONFIG_USBSERIAL_EPIN=2 +CONFIG_USBSERIAL_NWRREQS=4 +CONFIG_USBSERIAL_NRDREQS=4 +CONFIG_USBSER_VENDORID=0x0525 +CONFIG_USBSER_PRODUCTID=0xa4a6 +CONFIG_USBSERIAL_RXBUFSIZE=512 +CONFIG_USBSERIAL_TXBUFSIZE=512 + +# +# USB Device Zero Configuration +# CONFIG_USBSER_VENDORID +# The vendor ID code +# CONFIG_USBSER_PRODUCTID +# The product ID code +CONFIG_USBZERO_VENDORID=0x0525 +CONFIG_USBZERO_PRODUCTID=0xa4a0 + # # Settings for examples/ostest CONFIG_EXAMPLES_OSTEST_LOOPS=1 diff --git a/configs/ntosd-dm320/nettest/defconfig b/configs/ntosd-dm320/nettest/defconfig index be3ca6d24e..b49c1757f8 100644 --- a/configs/ntosd-dm320/nettest/defconfig +++ b/configs/ntosd-dm320/nettest/defconfig @@ -312,6 +312,82 @@ CONFIG_NET_BROADCAST=n CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 +# +# USB Device Configuration +# +# CONFIG_USBDEV +# Enables USB device support +# CONFIG_USBDEV_ISOCHRONOUS +# Build in extra support for isochronous endpoints +# CONFIG_USBDEV_DUALSPEED +# Hardware handles high and full speed operation (USB 2.0) +# CONFIG_USBDEV_SELFPOWERED +# Will cause USB features to indicate that the device is +# self-powered +# CONFIG_USBDEV_MAXPOWER +# Maximum power consumption in mA +# CONFIG_USBDEV_TRACE +# Enables USB tracing for debug +# CONFIG_USBDEV_TRACE_NRECORDS +# Number of trace entries to remember +CONFIG_USBDEV=n +CONFIG_USBDEV_ISOCHRONOUS=n +CONFIG_USBDEV_DUALSPEED=n +CONFIG_USBDEV_SELFPOWERED=y +CONFIG_USBDEV_MAXPOWER=100 +CONFIG_USBDEV_TRACE=n +CONFIG_USBDEV_TRACE_NRECORDS=128 + +# +# DM320 USB Configuration +# +# CONFIG_DM320_GIO_USBATTACH +# GIO that detects USB attach/detach events +# CONFIG_DM320_GIO_USBDPPULLUP +# GIO +# CONFIG_DMA320_USBDEV_DMA +# Enable DM320-specific DMA support +CONFIG_DM320_GIO_USBATTACH=6 +CONFIG_DM320_GIO_USBDPPULLUP=17 +CONFIG_DM320_VENDORID=0xd320 +CONFIG_DM320_PRODUCTID=0x3211 +CONFIG_DM320_USBDEV_DMA=n + +# +# USB Serial Device Configuration +# +# CONFIG_USBSERIAL_EPOUT +# CONFIG_USBSERIAL_EPIN +# CONFIG_USBSERIAL_NWRREQS +# The number of write requests that can be in flight +# CONFIG_USBSERIAL_NRDREQS +# The number of read requests that can be in flight +# CONFIG_USBSERIAL_RXBUFSIZE +# Size of the serial receive buffer +# CONFIG_USBSERIAL_TXBUFSIZE +# Size of the serial transmit buffer +# CONFIG_USBSER_VENDORID +# The vendor ID code +# CONFIG_USBSER_PRODUCTID +# The product ID code +CONFIG_USBSERIAL_EPOUT=1 +CONFIG_USBSERIAL_EPIN=2 +CONFIG_USBSERIAL_NWRREQS=4 +CONFIG_USBSERIAL_NRDREQS=4 +CONFIG_USBSER_VENDORID=0x0525 +CONFIG_USBSER_PRODUCTID=0xa4a6 +CONFIG_USBSERIAL_RXBUFSIZE=512 +CONFIG_USBSERIAL_TXBUFSIZE=512 + +# +# USB Device Zero Configuration +# CONFIG_USBSER_VENDORID +# The vendor ID code +# CONFIG_USBSER_PRODUCTID +# The product ID code +CONFIG_USBZERO_VENDORID=0x0525 +CONFIG_USBZERO_PRODUCTID=0xa4a0 + # # Settings for examples/uip CONFIG_EXAMPLE_UIP_IPADDR=(10<<24|0<<16|0<<8|2) diff --git a/configs/ntosd-dm320/nsh/defconfig b/configs/ntosd-dm320/nsh/defconfig index d10fafeb25..1b4f0fb194 100644 --- a/configs/ntosd-dm320/nsh/defconfig +++ b/configs/ntosd-dm320/nsh/defconfig @@ -320,6 +320,82 @@ CONFIG_NET_BROADCAST=n CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 +# +# USB Device Configuration +# +# CONFIG_USBDEV +# Enables USB device support +# CONFIG_USBDEV_ISOCHRONOUS +# Build in extra support for isochronous endpoints +# CONFIG_USBDEV_DUALSPEED +# Hardware handles high and full speed operation (USB 2.0) +# CONFIG_USBDEV_SELFPOWERED +# Will cause USB features to indicate that the device is +# self-powered +# CONFIG_USBDEV_MAXPOWER +# Maximum power consumption in mA +# CONFIG_USBDEV_TRACE +# Enables USB tracing for debug +# CONFIG_USBDEV_TRACE_NRECORDS +# Number of trace entries to remember +CONFIG_USBDEV=n +CONFIG_USBDEV_ISOCHRONOUS=n +CONFIG_USBDEV_DUALSPEED=n +CONFIG_USBDEV_SELFPOWERED=y +CONFIG_USBDEV_MAXPOWER=100 +CONFIG_USBDEV_TRACE=n +CONFIG_USBDEV_TRACE_NRECORDS=128 + +# +# DM320 USB Configuration +# +# CONFIG_DM320_GIO_USBATTACH +# GIO that detects USB attach/detach events +# CONFIG_DM320_GIO_USBDPPULLUP +# GIO +# CONFIG_DMA320_USBDEV_DMA +# Enable DM320-specific DMA support +CONFIG_DM320_GIO_USBATTACH=6 +CONFIG_DM320_GIO_USBDPPULLUP=17 +CONFIG_DM320_VENDORID=0xd320 +CONFIG_DM320_PRODUCTID=0x3211 +CONFIG_DM320_USBDEV_DMA=n + +# +# USB Serial Device Configuration +# +# CONFIG_USBSERIAL_EPOUT +# CONFIG_USBSERIAL_EPIN +# CONFIG_USBSERIAL_NWRREQS +# The number of write requests that can be in flight +# CONFIG_USBSERIAL_NRDREQS +# The number of read requests that can be in flight +# CONFIG_USBSERIAL_RXBUFSIZE +# Size of the serial receive buffer +# CONFIG_USBSERIAL_TXBUFSIZE +# Size of the serial transmit buffer +# CONFIG_USBSER_VENDORID +# The vendor ID code +# CONFIG_USBSER_PRODUCTID +# The product ID code +CONFIG_USBSERIAL_EPOUT=1 +CONFIG_USBSERIAL_EPIN=2 +CONFIG_USBSERIAL_NWRREQS=4 +CONFIG_USBSERIAL_NRDREQS=4 +CONFIG_USBSER_VENDORID=0x0525 +CONFIG_USBSER_PRODUCTID=0xa4a6 +CONFIG_USBSERIAL_RXBUFSIZE=512 +CONFIG_USBSERIAL_TXBUFSIZE=512 + +# +# USB Device Zero Configuration +# CONFIG_USBSER_VENDORID +# The vendor ID code +# CONFIG_USBSER_PRODUCTID +# The product ID code +CONFIG_USBZERO_VENDORID=0x0525 +CONFIG_USBZERO_PRODUCTID=0xa4a0 + # # Settings for examples/uip CONFIG_EXAMPLE_UIP_IPADDR=(10<<24|0<<16|0<<8|2) diff --git a/configs/ntosd-dm320/ostest/defconfig b/configs/ntosd-dm320/ostest/defconfig index 3e4c44c6f5..ecb23733fb 100644 --- a/configs/ntosd-dm320/ostest/defconfig +++ b/configs/ntosd-dm320/ostest/defconfig @@ -312,6 +312,82 @@ CONFIG_NET_BROADCAST=n CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 +# +# USB Device Configuration +# +# CONFIG_USBDEV +# Enables USB device support +# CONFIG_USBDEV_ISOCHRONOUS +# Build in extra support for isochronous endpoints +# CONFIG_USBDEV_DUALSPEED +# Hardware handles high and full speed operation (USB 2.0) +# CONFIG_USBDEV_SELFPOWERED +# Will cause USB features to indicate that the device is +# self-powered +# CONFIG_USBDEV_MAXPOWER +# Maximum power consumption in mA +# CONFIG_USBDEV_TRACE +# Enables USB tracing for debug +# CONFIG_USBDEV_TRACE_NRECORDS +# Number of trace entries to remember +CONFIG_USBDEV=n +CONFIG_USBDEV_ISOCHRONOUS=n +CONFIG_USBDEV_DUALSPEED=n +CONFIG_USBDEV_SELFPOWERED=y +CONFIG_USBDEV_MAXPOWER=100 +CONFIG_USBDEV_TRACE=n +CONFIG_USBDEV_TRACE_NRECORDS=128 + +# +# DM320 USB Configuration +# +# CONFIG_DM320_GIO_USBATTACH +# GIO that detects USB attach/detach events +# CONFIG_DM320_GIO_USBDPPULLUP +# GIO +# CONFIG_DMA320_USBDEV_DMA +# Enable DM320-specific DMA support +CONFIG_DM320_GIO_USBATTACH=6 +CONFIG_DM320_GIO_USBDPPULLUP=17 +CONFIG_DM320_VENDORID=0xd320 +CONFIG_DM320_PRODUCTID=0x3211 +CONFIG_DM320_USBDEV_DMA=n + +# +# USB Serial Device Configuration +# +# CONFIG_USBSERIAL_EPOUT +# CONFIG_USBSERIAL_EPIN +# CONFIG_USBSERIAL_NWRREQS +# The number of write requests that can be in flight +# CONFIG_USBSERIAL_NRDREQS +# The number of read requests that can be in flight +# CONFIG_USBSERIAL_RXBUFSIZE +# Size of the serial receive buffer +# CONFIG_USBSERIAL_TXBUFSIZE +# Size of the serial transmit buffer +# CONFIG_USBSER_VENDORID +# The vendor ID code +# CONFIG_USBSER_PRODUCTID +# The product ID code +CONFIG_USBSERIAL_EPOUT=1 +CONFIG_USBSERIAL_EPIN=2 +CONFIG_USBSERIAL_NWRREQS=4 +CONFIG_USBSERIAL_NRDREQS=4 +CONFIG_USBSER_VENDORID=0x0525 +CONFIG_USBSER_PRODUCTID=0xa4a6 +CONFIG_USBSERIAL_RXBUFSIZE=512 +CONFIG_USBSERIAL_TXBUFSIZE=512 + +# +# USB Device Zero Configuration +# CONFIG_USBSER_VENDORID +# The vendor ID code +# CONFIG_USBSER_PRODUCTID +# The product ID code +CONFIG_USBZERO_VENDORID=0x0525 +CONFIG_USBZERO_PRODUCTID=0xa4a0 + # # Settings for examples/uip CONFIG_EXAMPLE_UIP_IPADDR=(10<<24|0<<16|0<<8|2) diff --git a/configs/ntosd-dm320/udp/defconfig b/configs/ntosd-dm320/udp/defconfig index d0ec81a7d5..bd3da28efb 100644 --- a/configs/ntosd-dm320/udp/defconfig +++ b/configs/ntosd-dm320/udp/defconfig @@ -312,6 +312,82 @@ CONFIG_NET_BROADCAST=n CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 +# +# USB Device Configuration +# +# CONFIG_USBDEV +# Enables USB device support +# CONFIG_USBDEV_ISOCHRONOUS +# Build in extra support for isochronous endpoints +# CONFIG_USBDEV_DUALSPEED +# Hardware handles high and full speed operation (USB 2.0) +# CONFIG_USBDEV_SELFPOWERED +# Will cause USB features to indicate that the device is +# self-powered +# CONFIG_USBDEV_MAXPOWER +# Maximum power consumption in mA +# CONFIG_USBDEV_TRACE +# Enables USB tracing for debug +# CONFIG_USBDEV_TRACE_NRECORDS +# Number of trace entries to remember +CONFIG_USBDEV=n +CONFIG_USBDEV_ISOCHRONOUS=n +CONFIG_USBDEV_DUALSPEED=n +CONFIG_USBDEV_SELFPOWERED=y +CONFIG_USBDEV_MAXPOWER=100 +CONFIG_USBDEV_TRACE=n +CONFIG_USBDEV_TRACE_NRECORDS=128 + +# +# DM320 USB Configuration +# +# CONFIG_DM320_GIO_USBATTACH +# GIO that detects USB attach/detach events +# CONFIG_DM320_GIO_USBDPPULLUP +# GIO +# CONFIG_DMA320_USBDEV_DMA +# Enable DM320-specific DMA support +CONFIG_DM320_GIO_USBATTACH=6 +CONFIG_DM320_GIO_USBDPPULLUP=17 +CONFIG_DM320_VENDORID=0xd320 +CONFIG_DM320_PRODUCTID=0x3211 +CONFIG_DM320_USBDEV_DMA=n + +# +# USB Serial Device Configuration +# +# CONFIG_USBSERIAL_EPOUT +# CONFIG_USBSERIAL_EPIN +# CONFIG_USBSERIAL_NWRREQS +# The number of write requests that can be in flight +# CONFIG_USBSERIAL_NRDREQS +# The number of read requests that can be in flight +# CONFIG_USBSERIAL_RXBUFSIZE +# Size of the serial receive buffer +# CONFIG_USBSERIAL_TXBUFSIZE +# Size of the serial transmit buffer +# CONFIG_USBSER_VENDORID +# The vendor ID code +# CONFIG_USBSER_PRODUCTID +# The product ID code +CONFIG_USBSERIAL_EPOUT=1 +CONFIG_USBSERIAL_EPIN=2 +CONFIG_USBSERIAL_NWRREQS=4 +CONFIG_USBSERIAL_NRDREQS=4 +CONFIG_USBSER_VENDORID=0x0525 +CONFIG_USBSER_PRODUCTID=0xa4a6 +CONFIG_USBSERIAL_RXBUFSIZE=512 +CONFIG_USBSERIAL_TXBUFSIZE=512 + +# +# USB Device Zero Configuration +# CONFIG_USBSER_VENDORID +# The vendor ID code +# CONFIG_USBSER_PRODUCTID +# The product ID code +CONFIG_USBZERO_VENDORID=0x0525 +CONFIG_USBZERO_PRODUCTID=0xa4a0 + # # Settings for examples/uip CONFIG_EXAMPLE_UIP_IPADDR=(10<<24|0<<16|0<<8|2) diff --git a/configs/ntosd-dm320/uip/defconfig b/configs/ntosd-dm320/uip/defconfig index d463ab1a90..f0066d33ff 100644 --- a/configs/ntosd-dm320/uip/defconfig +++ b/configs/ntosd-dm320/uip/defconfig @@ -312,6 +312,82 @@ CONFIG_NET_BROADCAST=n CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 +# +# USB Device Configuration +# +# CONFIG_USBDEV +# Enables USB device support +# CONFIG_USBDEV_ISOCHRONOUS +# Build in extra support for isochronous endpoints +# CONFIG_USBDEV_DUALSPEED +# Hardware handles high and full speed operation (USB 2.0) +# CONFIG_USBDEV_SELFPOWERED +# Will cause USB features to indicate that the device is +# self-powered +# CONFIG_USBDEV_MAXPOWER +# Maximum power consumption in mA +# CONFIG_USBDEV_TRACE +# Enables USB tracing for debug +# CONFIG_USBDEV_TRACE_NRECORDS +# Number of trace entries to remember +CONFIG_USBDEV=n +CONFIG_USBDEV_ISOCHRONOUS=n +CONFIG_USBDEV_DUALSPEED=n +CONFIG_USBDEV_SELFPOWERED=y +CONFIG_USBDEV_MAXPOWER=100 +CONFIG_USBDEV_TRACE=n +CONFIG_USBDEV_TRACE_NRECORDS=128 + +# +# DM320 USB Configuration +# +# CONFIG_DM320_GIO_USBATTACH +# GIO that detects USB attach/detach events +# CONFIG_DM320_GIO_USBDPPULLUP +# GIO +# CONFIG_DMA320_USBDEV_DMA +# Enable DM320-specific DMA support +CONFIG_DM320_GIO_USBATTACH=6 +CONFIG_DM320_GIO_USBDPPULLUP=17 +CONFIG_DM320_VENDORID=0xd320 +CONFIG_DM320_PRODUCTID=0x3211 +CONFIG_DM320_USBDEV_DMA=n + +# +# USB Serial Device Configuration +# +# CONFIG_USBSERIAL_EPOUT +# CONFIG_USBSERIAL_EPIN +# CONFIG_USBSERIAL_NWRREQS +# The number of write requests that can be in flight +# CONFIG_USBSERIAL_NRDREQS +# The number of read requests that can be in flight +# CONFIG_USBSERIAL_RXBUFSIZE +# Size of the serial receive buffer +# CONFIG_USBSERIAL_TXBUFSIZE +# Size of the serial transmit buffer +# CONFIG_USBSER_VENDORID +# The vendor ID code +# CONFIG_USBSER_PRODUCTID +# The product ID code +CONFIG_USBSERIAL_EPOUT=1 +CONFIG_USBSERIAL_EPIN=2 +CONFIG_USBSERIAL_NWRREQS=4 +CONFIG_USBSERIAL_NRDREQS=4 +CONFIG_USBSER_VENDORID=0x0525 +CONFIG_USBSER_PRODUCTID=0xa4a6 +CONFIG_USBSERIAL_RXBUFSIZE=512 +CONFIG_USBSERIAL_TXBUFSIZE=512 + +# +# USB Device Zero Configuration +# CONFIG_USBSER_VENDORID +# The vendor ID code +# CONFIG_USBSER_PRODUCTID +# The product ID code +CONFIG_USBZERO_VENDORID=0x0525 +CONFIG_USBZERO_PRODUCTID=0xa4a0 + # # Settings for examples/uip CONFIG_EXAMPLE_UIP_IPADDR=(10<<24|0<<16|0<<8|2)