From fc5ea7168fb81cbcc02daf9a06db22d6660a0920 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 22 Aug 2012 18:13:04 +0000 Subject: [PATCH] STM32 USB OTG FS host driver update (almost done) git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5046 42af7a65-404d-4744-a932-0658087f49c3 --- configs/stm3220g-eval/README.txt | 1 + configs/stm3220g-eval/nsh/defconfig | 4 +++- configs/stm3240g-eval/README.txt | 1 + configs/stm32f4discovery/README.txt | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/configs/stm3220g-eval/README.txt b/configs/stm3220g-eval/README.txt index a25db07a51..da29b15922 100644 --- a/configs/stm3220g-eval/README.txt +++ b/configs/stm3220g-eval/README.txt @@ -685,6 +685,7 @@ STM3220G-EVAL-specific Configuration Options in 32-bit words. Default 96 (384 bytes) CONFIG_STM32_OTGFS_PTXFIFO_SIZE - Size of the periodic Tx FIFO in 32-bit words. Default 96 (384 bytes) + CONFIG_STM32_OTGFS_DESCSIZE - Maximum size of a descriptor. Default: 128 CONFIG_STM32_OTGFS_SOFINTR - Enable SOF interrupts. Why would you ever want to do that? CONFIG_STM32_USBHOST_REGDEBUG - Enable very low-level register access diff --git a/configs/stm3220g-eval/nsh/defconfig b/configs/stm3220g-eval/nsh/defconfig index 5a3dd6643d..decc23e6ca 100644 --- a/configs/stm3220g-eval/nsh/defconfig +++ b/configs/stm3220g-eval/nsh/defconfig @@ -1043,6 +1043,7 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # in 32-bit words. Default 96 (384 bytes) # CONFIG_STM32_OTGFS_PTXFIFO_SIZE - Size of the periodic Tx FIFO in 32-bit # words. Default 96 (384 bytes) +# CONFIG_STM32_OTGFS_DESCSIZE - Maximum size of a descriptor. Default: 128 # CONFIG_STM32_OTGFS_SOFINTR - Enable SOF interrupts. Why would you ever # want to do that? # CONFIG_STM32_USBHOST_REGDEBUG - Enable very low-level register access @@ -1051,9 +1052,10 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # packets. Depends on CONFIG_DEBUG. # CONFIG_USBHOST=n -# ONFIG_STM32_OTGFS_RXFIFO_SIZE +#CONFIG_STM32_OTGFS_RXFIFO_SIZE #CONFIG_STM32_OTGFS_NPTXFIFO_SIZE #CONFIG_STM32_OTGFS_PTXFIFO_SIZE +#CONFIG_STM32_OTGFS_DESCSIZE CONFIG_STM32_OTGFS_SOFINTR=n CONFIG_STM32_USBHOST_REGDEBUG=n CONFIG_STM32_USBHOST_PKTDUMP=n diff --git a/configs/stm3240g-eval/README.txt b/configs/stm3240g-eval/README.txt index 5f942819c3..908fb93c85 100755 --- a/configs/stm3240g-eval/README.txt +++ b/configs/stm3240g-eval/README.txt @@ -848,6 +848,7 @@ STM3240G-EVAL-specific Configuration Options in 32-bit words. Default 96 (384 bytes) CONFIG_STM32_OTGFS_PTXFIFO_SIZE - Size of the periodic Tx FIFO in 32-bit words. Default 96 (384 bytes) + CONFIG_STM32_OTGFS_DESCSIZE - Maximum size of a descriptor. Default: 128 CONFIG_STM32_OTGFS_SOFINTR - Enable SOF interrupts. Why would you ever want to do that? CONFIG_STM32_USBHOST_REGDEBUG - Enable very low-level register access diff --git a/configs/stm32f4discovery/README.txt b/configs/stm32f4discovery/README.txt index e7dc573536..84f562d567 100755 --- a/configs/stm32f4discovery/README.txt +++ b/configs/stm32f4discovery/README.txt @@ -901,6 +901,7 @@ STM32F4Discovery-specific Configuration Options in 32-bit words. Default 96 (384 bytes) CONFIG_STM32_OTGFS_PTXFIFO_SIZE - Size of the periodic Tx FIFO in 32-bit words. Default 96 (384 bytes) + CONFIG_STM32_OTGFS_DESCSIZE - Maximum size of a descriptor. Default: 128 CONFIG_STM32_OTGFS_SOFINTR - Enable SOF interrupts. Why would you ever want to do that? CONFIG_STM32_USBHOST_REGDEBUG - Enable very low-level register access