2019-11-01 20:45:29 +08:00
|
|
|
# STM32 I2S driver configuration options
|
|
|
|
|
2018-06-14 15:27:46 +08:00
|
|
|
# Copyright (c) 2018 STMicroelectronics
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig I2S_STM32
|
|
|
|
bool "STM32 MCU I2S controller driver"
|
2022-08-25 03:12:33 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_ST_STM32_I2S_ENABLED
|
2024-01-24 19:42:36 +08:00
|
|
|
select CACHE_MANAGEMENT if CPU_HAS_DCACHE
|
2018-06-14 15:27:46 +08:00
|
|
|
select DMA
|
2024-08-29 22:04:49 +08:00
|
|
|
select PINCTRL
|
2018-06-14 15:27:46 +08:00
|
|
|
help
|
|
|
|
Enable I2S support on the STM32 family of processors.
|
2023-11-01 18:54:23 +08:00
|
|
|
(Tested on the STM32F4 & STM32H7 series)
|
2018-06-14 15:27:46 +08:00
|
|
|
|
|
|
|
if I2S_STM32
|
|
|
|
|
|
|
|
config I2S_STM32_RX_BLOCK_COUNT
|
|
|
|
int "RX queue length"
|
|
|
|
default 4
|
|
|
|
|
|
|
|
config I2S_STM32_TX_BLOCK_COUNT
|
|
|
|
int "TX queue length"
|
|
|
|
default 4
|
|
|
|
|
|
|
|
endif # I2S_STM32
|