feat: add waveshare ESP32-S3-Touch-AMOLED-1.75C support (#1786)
* feat: add waveshare ESP32-S3-Touch-AMOLED-1.75C support * fix: fixed ESP32-S3-Touch-AMOLED-1.75 config.json
This commit is contained in:
@ -7,12 +7,25 @@
|
||||
#define AUDIO_OUTPUT_SAMPLE_RATE 24000
|
||||
|
||||
#define AUDIO_INPUT_REFERENCE true
|
||||
|
||||
#if CONFIG_BOARD_TYPE_WAVESHARE_ESP32_S3_TOUCH_AMOLED_1_75
|
||||
#define AUDIO_I2S_GPIO_MCLK GPIO_NUM_42
|
||||
#define AUDIO_I2S_GPIO_WS GPIO_NUM_45
|
||||
#define AUDIO_I2S_GPIO_BCLK GPIO_NUM_9
|
||||
#define AUDIO_I2S_GPIO_DIN GPIO_NUM_10
|
||||
#define AUDIO_I2S_GPIO_DOUT GPIO_NUM_8
|
||||
#define EXAMPLE_PIN_NUM_LCD_RST GPIO_NUM_39
|
||||
#define PIN_NUM_TOUCH_RST GPIO_NUM_40
|
||||
#define PIN_NUM_TOUCH_INT GPIO_NUM_11
|
||||
#elif CONFIG_BOARD_TYPE_WAVESHARE_ESP32_S3_TOUCH_AMOLED_1_75C
|
||||
#define AUDIO_I2S_GPIO_MCLK GPIO_NUM_16
|
||||
#define AUDIO_I2S_GPIO_WS GPIO_NUM_45
|
||||
#define AUDIO_I2S_GPIO_BCLK GPIO_NUM_9
|
||||
#define AUDIO_I2S_GPIO_DIN GPIO_NUM_10
|
||||
#define AUDIO_I2S_GPIO_DOUT GPIO_NUM_8
|
||||
#define EXAMPLE_PIN_NUM_LCD_RST GPIO_NUM_1
|
||||
#define PIN_NUM_TOUCH_RST GPIO_NUM_2
|
||||
#define PIN_NUM_TOUCH_INT GPIO_NUM_11
|
||||
#endif
|
||||
|
||||
#define AUDIO_CODEC_PA_PIN GPIO_NUM_46
|
||||
#define AUDIO_CODEC_I2C_SDA_PIN GPIO_NUM_15
|
||||
@ -29,7 +42,7 @@
|
||||
#define EXAMPLE_PIN_NUM_LCD_DATA1 GPIO_NUM_5
|
||||
#define EXAMPLE_PIN_NUM_LCD_DATA2 GPIO_NUM_6
|
||||
#define EXAMPLE_PIN_NUM_LCD_DATA3 GPIO_NUM_7
|
||||
#define EXAMPLE_PIN_NUM_LCD_RST GPIO_NUM_39
|
||||
|
||||
#define DISPLAY_WIDTH 466
|
||||
#define DISPLAY_HEIGHT 466
|
||||
#define DISPLAY_MIRROR_X false
|
||||
|
||||
Reference in New Issue
Block a user