The attached .patch implements DMA support for the stm32f4 I2C. Max and I have verified that it works on our systems.

This commit is contained in:
rg
2017-03-21 16:44:11 -06:00
committed by Gregory Nutt
parent 9919e33705
commit 82a5dfddb4
2 changed files with 332 additions and 25 deletions
+10
View File
@@ -6190,6 +6190,16 @@ config STM32_I2C_DUTY16_9
default n
depends on STM32_I2C
config STM32_I2C_DMA
bool "I2C DMA Support"
default n
depends on STM32_I2C && STM32_STM32F40XX && STM32_DMA1
---help---
This option enables the DMA for I2C transfers.
Note: The user can define CONFIG_I2C_DMAPRIO: a custom priority value for the
I2C dma streams, else the default priority level is set to medium.
Note: This option is compatible with CONFIG_I2C_POLLED.
endmenu
menu "SDIO Configuration"
File diff suppressed because it is too large Load Diff