mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 23:11:57 +00:00
Although existing nRF SoCs have only one I2S instance, the nrfx_i2s driver has now multi-instance API and the related nrfx configuration symbols need to be used appropriately. Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
23 lines
450 B
Plaintext
23 lines
450 B
Plaintext
# Copyright (c) 2021 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig I2S_NRFX
|
|
bool "nRF I2S nrfx driver"
|
|
default y
|
|
depends on DT_HAS_NORDIC_NRF_I2S_ENABLED
|
|
select NRFX_I2S0 if HAS_HW_NRF_I2S0
|
|
help
|
|
Enable support for nrfx I2S driver for nRF MCU series.
|
|
|
|
if I2S_NRFX
|
|
|
|
config I2S_NRFX_RX_BLOCK_COUNT
|
|
int "RX queue length"
|
|
default 4
|
|
|
|
config I2S_NRFX_TX_BLOCK_COUNT
|
|
int "TX queue length"
|
|
default 4
|
|
|
|
endif # I2S_NRFX
|