diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-06-13 16:30:00 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-06-13 16:30:00 +0000 |
commit | eaa1d21a966ad397b565bb824d14e15b78af2f38 (patch) | |
tree | 4dfa779d8a5073efcb89d7103f971c8ff6375d91 /nuttx/configs/nucleus2g | |
parent | 0798efef0c881858173d0001682526195e5a6b85 (diff) | |
download | px4-nuttx-eaa1d21a966ad397b565bb824d14e15b78af2f38.tar.gz px4-nuttx-eaa1d21a966ad397b565bb824d14e15b78af2f38.tar.bz2 px4-nuttx-eaa1d21a966ad397b565bb824d14e15b78af2f38.zip |
USB config update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2744 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/nucleus2g')
-rwxr-xr-x | nuttx/configs/nucleus2g/README.txt | 17 | ||||
-rwxr-xr-x | nuttx/configs/nucleus2g/ostest/defconfig | 21 |
2 files changed, 37 insertions, 1 deletions
diff --git a/nuttx/configs/nucleus2g/README.txt b/nuttx/configs/nucleus2g/README.txt index d2cfd733c..d77c77c83 100755 --- a/nuttx/configs/nucleus2g/README.txt +++ b/nuttx/configs/nucleus2g/README.txt @@ -318,7 +318,7 @@ Nucleus 2G Configuration Options CONFIG_LPC17_ADC=n
CONFIG_LPC17_DAC=n
CONFIG_LPC17_GPDMA=n
- CONFIG_LP17_FLASH=n
+ CONFIG_LPC17_FLASH=n
LPC17xx specific device driver settings
@@ -333,6 +333,21 @@ Nucleus 2G Configuration Options CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity
CONFIG_UARTn_2STOP - Two stop bits
+ LPC17xx USB Configuration
+
+ CONFIG_LPC17_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_LPC17_USBDEV_EPFAST_INTERRUPT
+ Enable high priority interrupts. I have no idea why you might want to
+ do that
+ CONFIG_LPC17_USBDEV_NDMADESCRIPTORS
+ Number of DMA descriptors to allocate in SRAM.
+ CONFIG_LPC17_USBDEV_DMA
+ Enable lpc17xx-specific DMA support
+
Configurations
^^^^^^^^^^^^^^
diff --git a/nuttx/configs/nucleus2g/ostest/defconfig b/nuttx/configs/nucleus2g/ostest/defconfig index 26b9035cd..93a11c454 100755 --- a/nuttx/configs/nucleus2g/ostest/defconfig +++ b/nuttx/configs/nucleus2g/ostest/defconfig @@ -558,6 +558,27 @@ CONFIG_USBDEV_TRACE=n CONFIG_USBDEV_TRACE_NRECORDS=128 # +# LPC17xx USB Configuration +# +# CONFIG_LPC17_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_LPC17_USBDEV_EPFAST_INTERRUPT +# Enable high priority interrupts. I have no idea why you might want to +# do that +# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS +# Number of DMA descriptors to allocate in SRAM. +# CONFIG_LPC17_USBDEV_DMA +# Enable lpc17xx-specific DMA support +# +CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n +CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n +CONFIG_LPC17_USBDEV_DMA=n +CONFIG_LPC17_USBDEV_NDMADESCRIPTORS=0 +CONFIG_LPC17_USBDEV_DMAINTMASK=0 +# # USB Serial Device Configuration # # CONFIG_USBSER |