diff --git a/arch/xtensa/src/esp32s3/Kconfig b/arch/xtensa/src/esp32s3/Kconfig index efdb7bd99df..f3aa90e0f2c 100644 --- a/arch/xtensa/src/esp32s3/Kconfig +++ b/arch/xtensa/src/esp32s3/Kconfig @@ -52,7 +52,7 @@ config ARCH_CHIP_ESP32S3CUSTOM select ARCH_HAVE_I2CRESET ---help--- Generic module with an embedded ESP32-S3. Chip Flash Size should be selected - under SPI FLash Menu. + under SPI Flash Menu. endchoice # ESP32-S3 Chip Selection @@ -322,6 +322,15 @@ config ESP32S3_I2S if ESP32S3_I2S +config ESP32S3_I2S_MAXINFLIGHT + int "I2S queue size" + default 4 + ---help--- + This is the total number of transfers, both RX and TX, that can be + enqueued before the caller is required to wait. This setting + determines the number certain queue data structures that will be + pre-allocated. + config ESP32S3_I2S0 bool "I2S 0" default n @@ -1892,7 +1901,7 @@ config ESP32S3_SPI_FLASH_USE_32BIT_ADDRESS if select the option, it will force to use source code instead of functions in ROM, so that SPI flash driver can access full 32-bit address. - + choice ESP32S3_FLASH_SIZE prompt "ESP32S3 Custom Module Flash Size" depends on ARCH_CHIP_ESP32S3CUSTOM diff --git a/arch/xtensa/src/esp32s3/esp32s3_i2s.c b/arch/xtensa/src/esp32s3/esp32s3_i2s.c index 18fa10e5f43..98418811031 100644 --- a/arch/xtensa/src/esp32s3/esp32s3_i2s.c +++ b/arch/xtensa/src/esp32s3/esp32s3_i2s.c @@ -123,10 +123,6 @@ # undef CONFIG_ESP32S3_I2S_DUMPBUFFERS #endif -#ifndef CONFIG_ESP32S3_I2S_MAXINFLIGHT -# define CONFIG_ESP32S3_I2S_MAXINFLIGHT 4 -#endif - #define I2S_GPIO_UNUSED -1 /* For signals which are not used */ /****************************************************************************