mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
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:
@@ -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
Reference in New Issue
Block a user