STM32F746-WS: A few repairs to the nsh/defconfig for USB support.

This commit is contained in:
Gregory Nutt 2016-11-07 09:20:47 -06:00
parent dd04d73afe
commit 1344d8b466
2 changed files with 8 additions and 2 deletions

View File

@ -1751,7 +1751,7 @@ menu "SDMMC1 Configuration"
config SDMMC1_DMA
bool "Support DMA data transfers on SDMMC1"
default y if STM32F7_DMA2
depends on STM32F7_DMA2
depends on STM32F7_SDMMC_DMA && STM32F7_DMA2
---help---
Support DMA data transfers on SDMMC1. Requires STM32F7_SDMMC1 and config STM32F7_DMA2.
@ -1785,7 +1785,7 @@ menu "SDMMC2 Configuration"
config SDMMC2_DMA
bool "Support DMA data transfers on SDMMC2"
default y if STM32F7_DMA2
depends on STM32F7_DMA2
depends on STM32F7_SDMMC_DMA && STM32F7_DMA2
---help---
Support DMA data transfers on SDMMC2. Requires STM32F7_SDMMC2 and config STM32F7_DMA2.

View File

@ -280,6 +280,7 @@ CONFIG_STM32F7_ADC=y
CONFIG_STM32F7_DMA=y
CONFIG_STM32F7_I2C=y
# CONFIG_STM32F7_SAI is not set
CONFIG_STM32F7_SDMMC=y
CONFIG_STM32F7_SPI=y
# CONFIG_STM32F7_TIM is not set
CONFIG_STM32F7_USART=y
@ -366,6 +367,11 @@ CONFIG_STM32F7_I2CTIMEOMS=500
CONFIG_STM32F7_I2CTIMEOTICKS=500
# CONFIG_STM32F7_I2C_DUTY16_9 is not set
#
# SD/MMC Configuration
#
CONFIG_STM32F7_SDMMC_DMA=y
#
# SDMMC1 Configuration
#