378d6b137a
Same deal as in commit eddd98f811
("kconfig: Replace some single-symbol
'if's with 'depends on'"), for the remaining cases outside defconfig
files. See that commit for an explanation.
Will do the defconfigs separately in case there are any complaints
there.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
20 lines
570 B
Plaintext
20 lines
570 B
Plaintext
# Copyright (c) 2019 Derek Hageman <hageman@inthat.cloud>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig I2C_SAM0
|
|
bool "SAM0 series I2C SERCOM driver"
|
|
default y
|
|
depends on SOC_FAMILY_SAM0
|
|
help
|
|
Enable the SAM0 series SERCOM I2C driver.
|
|
|
|
config I2C_SAM0_DMA_DRIVEN
|
|
bool "Enable DMA support for SAM0 I2C devices"
|
|
depends on I2C_SAM0
|
|
select DMA
|
|
help
|
|
This enables DMA driven transactions for the I2C peripheral.
|
|
DMA driven mode requires fewer interrupts to handle the
|
|
transaction and ensures that high speed modes are not delayed
|
|
by data reloading.
|