diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-11-10 07:23:06 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-11-10 07:23:06 -0600 |
commit | de57e1715adcd433955bc749f2cc56184a321b86 (patch) | |
tree | 1ea603e590cc2c4f932469bdff9d53f8793bee03 /nuttx/arch/arm/src/stm32/Kconfig | |
parent | fb7c644c64eceebc0f8681a87caa1111c7f539b9 (diff) | |
download | px4-nuttx-de57e1715adcd433955bc749f2cc56184a321b86.tar.gz px4-nuttx-de57e1715adcd433955bc749f2cc56184a321b86.tar.bz2 px4-nuttx-de57e1715adcd433955bc749f2cc56184a321b86.zip |
STM32 OTG FS device and host drivers extended so that they can support either the OTG FS peripheral or the OTG HS peripheral (in FS mode). This was done as a quick way to get USB support on the STM32F429 which has only OTG HS. From Ken Pettit
Diffstat (limited to 'nuttx/arch/arm/src/stm32/Kconfig')
-rw-r--r-- | nuttx/arch/arm/src/stm32/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/stm32/Kconfig b/nuttx/arch/arm/src/stm32/Kconfig index 03c36b755..0b8b1f975 100644 --- a/nuttx/arch/arm/src/stm32/Kconfig +++ b/nuttx/arch/arm/src/stm32/Kconfig @@ -752,6 +752,19 @@ config STM32_OTGHS default n depends on STM32_STM32F20XX || STM32_STM32F40XX +config STM32_OTGHS_FS_MODE + bool "Use OTG HS in FS mode" + default n + depends on STM32_OTGHS && !STM32_OTGFS + select STM32_OTGFS2 + ---help--- + The STM32 USB HS module can operate in legacy FS mode using the + built-in FS PHY in the HS module. This mode can only be used if + the OTG FS block is not being used since they use on the same + driver, and all the base address are different (the driver + uses #define defined addresses which are re-mapped when this + option is selected). + config STM32_PWR bool "PWR" default n @@ -992,6 +1005,9 @@ config STM32_I2C config STM32_CAN bool +config STM32_OTGFS2 + bool + menu "Alternate Pin Mapping" choice |