You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
858 B
34 lines
858 B
# 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 |
|
select DMA if DT_HAS_ESPRESSIF_ESP32_GDMA_ENABLED |
|
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. |
|
|
|
config I2S_ESP32_DMA_DESC_NUM_MAX |
|
int "ESP32 I2S number of link descriptors" |
|
default 10 |
|
depends on !DT_HAS_ESPRESSIF_ESP32_GDMA_ENABLED |
|
help |
|
Max number of link descriptor available for DMA transfers on each I2S channel |
|
|
|
endif
|
|
|