mirror of
https://github.com/apache/nuttx.git
synced 2026-08-05 06:10:27 +00:00
STM32F429i-Disco USBMC configuration: SPI1 should not be enabled. It is not supported
This commit is contained in:
parent
7881675f4e
commit
715ea79555
2 changed files with 3 additions and 9 deletions
|
|
@ -311,6 +311,7 @@ int stm32_spi5cmddata(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool cmd)
|
|||
* Valid SPI device structure reference on success; a NULL on failure
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
#ifdef CONFIG_STM32_SPI5
|
||||
FAR struct spi_dev_s *stm32_spi5initialize(void)
|
||||
{
|
||||
|
|
@ -322,4 +323,4 @@ FAR struct spi_dev_s *stm32_spi5initialize(void)
|
|||
return g_spidev5;
|
||||
}
|
||||
#endif
|
||||
#endif /* CONFIG_STM32_SPI1 || CONFIG_STM32_SPI2 */
|
||||
#endif /* CONFIG_STM32_SPI1 || ... CONFIG_STM32_SPI5 */
|
||||
|
|
|
|||
|
|
@ -292,7 +292,7 @@ CONFIG_STM32_OTGHS=y
|
|||
CONFIG_STM32_PWR=y
|
||||
# CONFIG_STM32_RNG is not set
|
||||
# CONFIG_STM32_SDIO is not set
|
||||
CONFIG_STM32_SPI1=y
|
||||
# CONFIG_STM32_SPI1 is not set
|
||||
# CONFIG_STM32_SPI2 is not set
|
||||
# CONFIG_STM32_SPI3 is not set
|
||||
# CONFIG_STM32_SPI4 is not set
|
||||
|
|
@ -322,7 +322,6 @@ CONFIG_STM32_USART1=y
|
|||
# CONFIG_STM32_UART8 is not set
|
||||
# CONFIG_STM32_IWDG is not set
|
||||
# CONFIG_STM32_WWDG is not set
|
||||
CONFIG_STM32_SPI=y
|
||||
|
||||
#
|
||||
# Alternate Pin Mapping
|
||||
|
|
@ -347,12 +346,6 @@ CONFIG_STM32_USART=y
|
|||
# CONFIG_STM32_FLOWCONTROL_BROKEN is not set
|
||||
# CONFIG_STM32_USART_SINGLEWIRE is not set
|
||||
|
||||
#
|
||||
# SPI Configuration
|
||||
#
|
||||
# CONFIG_STM32_SPI_INTERRUPTS is not set
|
||||
# CONFIG_STM32_SPI_DMA is not set
|
||||
|
||||
#
|
||||
# USB FS Host Configuration
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue