2023-06-29 20:26:18 +08:00
|
|
|
# Ambiq SDK I2C
|
|
|
|
#
|
|
|
|
# Copyright (c) 2023 Antmicro <www.antmicro.com>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
2024-06-17 09:44:20 +08:00
|
|
|
menuconfig I2C_AMBIQ
|
2023-06-29 20:26:18 +08:00
|
|
|
bool "AMBIQ I2C driver"
|
|
|
|
default y
|
|
|
|
depends on DT_HAS_AMBIQ_I2C_ENABLED
|
|
|
|
select AMBIQ_HAL
|
|
|
|
select AMBIQ_HAL_USE_I2C
|
|
|
|
help
|
|
|
|
Enable driver for Ambiq I2C.
|
2024-01-10 15:15:29 +08:00
|
|
|
|
2024-06-17 09:44:20 +08:00
|
|
|
if I2C_AMBIQ
|
|
|
|
|
2024-01-10 15:15:29 +08:00
|
|
|
config I2C_AMBIQ_DMA
|
|
|
|
bool "AMBIQ APOLLO I2C DMA Support"
|
|
|
|
help
|
|
|
|
Enable DMA for Ambiq I2C.
|
|
|
|
|
|
|
|
config I2C_DMA_TCB_BUFFER_SIZE
|
|
|
|
int "DMA Transfer Control Buffer size in words."
|
|
|
|
default 1024
|
|
|
|
help
|
|
|
|
DMA Transfer Control Buffer size in words
|
2024-06-17 09:44:20 +08:00
|
|
|
|
|
|
|
endif # I2C_AMBIQ
|