mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 12:35:25 +00:00
esp32: map audio i2s to gpios 8,9,10,45 on esp32-s3 as on ESP32-S3-Korvo-2 V3.0 board
This commit is contained in:
parent
2fe0253db0
commit
cbd6aad84f
@ -66,11 +66,19 @@
|
||||
#endif
|
||||
|
||||
#if CONFIG_IDF_TARGET_ESP32C3
|
||||
// Arbitrary choice - Strapping Pins 2,8,9 are used as outputs
|
||||
#define BTSTACK_AUDIO_I2S_BCK GPIO_NUM_2
|
||||
#define BTSTACK_AUDIO_I2S_WS GPIO_NUM_8
|
||||
#define BTSTACK_AUDIO_I2S_OUT GPIO_NUM_9
|
||||
#define BTSTACK_AUDIO_I2S_IN GPIO_NUM_10
|
||||
#elif CONFIG_IDF_TARGET_ESP32S3
|
||||
// ESP32-S3-Korvo-2 V3.0
|
||||
#define BTSTACK_AUDIO_I2S_BCK GPIO_NUM_9
|
||||
#define BTSTACK_AUDIO_I2S_WS GPIO_NUM_45
|
||||
#define BTSTACK_AUDIO_I2S_OUT GPIO_NUM_8
|
||||
#define BTSTACK_AUDIO_I2S_IN GPIO_NUM_10
|
||||
#else
|
||||
// ESP32-LyraT V4
|
||||
#define BTSTACK_AUDIO_I2S_BCK GPIO_NUM_5
|
||||
#define BTSTACK_AUDIO_I2S_WS GPIO_NUM_25
|
||||
#define BTSTACK_AUDIO_I2S_OUT GPIO_NUM_26
|
||||
|
Loading…
x
Reference in New Issue
Block a user