mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-08 08:25:21 +00:00
i2s support added for esp32s3 and esp32c3 Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
29 lines
640 B
Plaintext
29 lines
640 B
Plaintext
# Copyright (c) 2024 Espressif Systems (Shanghai) CO LTD
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config I2S_ESP32
|
|
bool "ESP32 I2S driver"
|
|
default y
|
|
depends on DT_HAS_ESPRESSIF_ESP32_I2S_ENABLED
|
|
depends on DT_HAS_ESPRESSIF_ESP32_GDMA_ENABLED
|
|
select DMA
|
|
help
|
|
Enables the ESP32 I2S driver (GDMA SoCs only).
|
|
|
|
if I2S_ESP32
|
|
|
|
config I2S_ESP32_RX_BLOCK_COUNT
|
|
int "ESP32 I2S RX block count"
|
|
default 5
|
|
help
|
|
Max number of blocks waiting to be read from the I2S RX channel.
|
|
|
|
config I2S_ESP32_TX_BLOCK_COUNT
|
|
int "ESP32 I2S TX block count"
|
|
default 5
|
|
help
|
|
Max number of blocks waiting to be transmitted by the I2S TX channel.
|
|
|
|
endif
|