ESP32S3 I2S GPIO selection master/slave hase same range for BCLK,WS pin

This commit is contained in:
Omar 2024-04-10 00:56:46 +06:00 committed by Xiang Xiao
parent 4c744f1c0e
commit 01aeeaeac6

View File

@ -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"