From 01aeeaeac62a47ff3e713ed13c866e34841b96fc Mon Sep 17 00:00:00 2001 From: Omar Date: Wed, 10 Apr 2024 00:56:46 +0600 Subject: [PATCH] ESP32S3 I2S GPIO selection master/slave hase same range for BCLK,WS pin --- arch/xtensa/src/esp32s3/Kconfig | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/arch/xtensa/src/esp32s3/Kconfig b/arch/xtensa/src/esp32s3/Kconfig index d2bc321c3a..6ed15a33bb 100644 --- a/arch/xtensa/src/esp32s3/Kconfig +++ b/arch/xtensa/src/esp32s3/Kconfig @@ -366,14 +366,12 @@ config ESP32S3_I2S0_SAMPLE_RATE config ESP32S3_I2S0_BCLKPIN int "I2S0 BCLK pin" default 4 - range 0 48 if ESP32S3_I2S0_ROLE_MASTER - range 0 48 if ESP32S3_I2S0_ROLE_SLAVE + range 0 48 config ESP32S3_I2S0_WSPIN int "I2S0 WS pin" default 5 - range 0 48 if ESP32S3_I2S0_ROLE_MASTER - range 0 48 if ESP32S3_I2S0_ROLE_SLAVE + range 0 48 config ESP32S3_I2S0_DINPIN int "I2S0 DIN pin" @@ -478,14 +476,12 @@ config ESP32S3_I2S1_SAMPLE_RATE config ESP32S3_I2S1_BCLKPIN int "I2S1 BCLK pin" default 22 - range 0 48 if ESP32S3_I2S1_ROLE_MASTER - range 0 48 if ESP32S3_I2S1_ROLE_SLAVE + range 0 48 config ESP32S3_I2S1_WSPIN int "I2S1 WS pin" default 23 - range 0 48 if ESP32S3_I2S1_ROLE_MASTER - range 0 48 if ESP32S3_I2S1_ROLE_SLAVE + range 0 48 config ESP32S3_I2S1_DINPIN int "I2S1 DIN pin"