mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +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
|
default n
|
||||||
depends on STM32_I2C
|
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
|
endmenu
|
||||||
|
|
||||||
menu "SDIO Configuration"
|
menu "SDIO Configuration"
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user