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
|
2018-06-14 15:27:46 +08:00
|
|
|
select DMA
|
|
|
|
help
|
|
|
|
Enable I2S support on the STM32 family of processors.
|
|
|
|
(Tested on the STM32F4 series)
|
|
|
|
|
|
|
|
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
|