summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3240g-eval/README.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-20 16:06:39 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-20 16:06:39 +0000
commitdc2f456623665ea79fae78fc78c0c3aa83f511b0 (patch)
tree65fef6247c6478e1fe13fdf3a01d057ef7875fe3 /nuttx/configs/stm3240g-eval/README.txt
parentc1b91e741d3baf2af4c99fcdefdb408935bba827 (diff)
downloadpx4-nuttx-dc2f456623665ea79fae78fc78c0c3aa83f511b0.tar.gz
px4-nuttx-dc2f456623665ea79fae78fc78c0c3aa83f511b0.tar.bz2
px4-nuttx-dc2f456623665ea79fae78fc78c0c3aa83f511b0.zip
Changes for clean STM32 USB host driver build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5040 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3240g-eval/README.txt')
-rwxr-xr-xnuttx/configs/stm3240g-eval/README.txt32
1 files changed, 31 insertions, 1 deletions
diff --git a/nuttx/configs/stm3240g-eval/README.txt b/nuttx/configs/stm3240g-eval/README.txt
index 49e939a23..c8c1fdfa7 100755
--- a/nuttx/configs/stm3240g-eval/README.txt
+++ b/nuttx/configs/stm3240g-eval/README.txt
@@ -831,6 +831,28 @@ STM3240G-EVAL-specific Configuration Options
CONFIG_STM32_ILI9320_DISABLE (includes ILI9321)
CONFIG_STM32_ILI9325_DISABLE
+ STM32 USB OTG FS Host Driver Support
+
+ Pre-requisites
+
+ CONFIG_USBHOST - Enable USB host support
+ CONFIG_STM32_OTGFS - Enable the STM32 USB OTG FS block
+ CONFIG_STM32_SYSCFG - Needed
+ CONFIG_SCHED_WORKQUEUE - Worker thread support is required
+
+ Options:
+
+ CONFIG_STM32_OTGFS_RXFIFO_SIZE - Size of the RX FIFO in 32-bit words.
+ Default 128 (512 bytes)
+ CONFIG_STM32_OTGFS_NPTXFIFO_SIZE - Size of the non-periodic Tx FIFO
+ 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_SOFINTR - Enable SOF interrupts. Why would you ever
+ want to do that?
+ CONFIG_STM32_USBHOST_REGDEBUG - Enable very low-level register access
+ debug. Depends on CONFIG_DEBUG.
+
Configurations
==============
@@ -996,7 +1018,15 @@ Where <subdir> is one of the following:
CONFIG_NX=y : Enable graphics suppport
CONFIG_MM_REGIONS=3 : When FSMC is enabled, so is the on-board SRAM memory region
- 8. This configuration requires that jumper JP22 be set to enable RS-232
+ 8. USB OTG FS Device or Host Support
+
+ CONFIG_USBDEV - Enable USB device support
+ CONFIG_USBHOST - Enable USB host support
+ CONFIG_STM32_OTGFS - Enable the STM32 USB OTG FS block
+ CONFIG_STM32_SYSCFG - Needed
+ CONFIG_SCHED_WORKQUEUE - Worker thread support is required
+
+ 9. This configuration requires that jumper JP22 be set to enable RS-232
operation.
nsh2: