mirror of
https://github.com/apache/nuttx.git
synced 2026-08-08 14:07:17 +00:00
Allow dma in 1 bit mode in STM32F4xxx
This commit is contained in:
parent
8b81cf5c7e
commit
76ceb37553
1 changed files with 2 additions and 0 deletions
|
|
@ -2577,12 +2577,14 @@ static int stm32_dmapreflight(FAR struct sdio_dev_s *dev,
|
|||
|
||||
DEBUGASSERT(priv != NULL && buffer != NULL && buflen > 0);
|
||||
|
||||
#if !defined(CONFIG_STM32_STM32F40XX)
|
||||
/* Wide bus operation is required for DMA */
|
||||
|
||||
if (!priv->widebus)
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* DMA must be possible to the buffer */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue