forked from xiaozhi/xiaozhi-esp32
Add support for EchoEar V1.2 version PCB. (#891)
Co-authored-by: NingYuxiang <ningyuxiang@espressif.com>
This commit is contained in:
@@ -9,19 +9,23 @@
|
||||
#define AUDIO_OUTPUT_SAMPLE_RATE 24000
|
||||
#define AUDIO_INPUT_REFERENCE true
|
||||
|
||||
#define CORDEC_POWER_CTRL GPIO_NUM_48
|
||||
|
||||
#define POWER_CTRL GPIO_NUM_9
|
||||
#define LED_G GPIO_NUM_43
|
||||
#define SD_MISO GPIO_NUM_17
|
||||
#define SD_SCK GPIO_NUM_16
|
||||
#define SD_MOSI GPIO_NUM_38
|
||||
|
||||
#define AUDIO_I2S_GPIO_MCLK GPIO_NUM_42
|
||||
#define AUDIO_I2S_GPIO_WS GPIO_NUM_39
|
||||
#define AUDIO_I2S_GPIO_BCLK GPIO_NUM_40
|
||||
#define AUDIO_I2S_GPIO_DIN GPIO_NUM_15
|
||||
#define AUDIO_I2S_GPIO_DOUT GPIO_NUM_41
|
||||
#define AUDIO_I2S_GPIO_MCLK GPIO_NUM_42
|
||||
#define AUDIO_I2S_GPIO_WS GPIO_NUM_39
|
||||
#define AUDIO_I2S_GPIO_BCLK GPIO_NUM_40
|
||||
#define AUDIO_I2S_GPIO_DIN_1 GPIO_NUM_15
|
||||
#define AUDIO_I2S_GPIO_DIN_2 GPIO_NUM_3
|
||||
#define AUDIO_I2S_GPIO_DOUT GPIO_NUM_41
|
||||
|
||||
#define AUDIO_CODEC_PA_PIN GPIO_NUM_4
|
||||
#define AUDIO_CODEC_PA_PIN_1 GPIO_NUM_4
|
||||
#define AUDIO_CODEC_PA_PIN_2 GPIO_NUM_15
|
||||
#define AUDIO_CODEC_I2C_SDA_PIN GPIO_NUM_2
|
||||
#define AUDIO_CODEC_I2C_SCL_PIN GPIO_NUM_1
|
||||
#define AUDIO_CODEC_ES8311_ADDR ES8311_CODEC_DEFAULT_ADDR
|
||||
@@ -49,9 +53,18 @@
|
||||
#define QSPI_PIN_NUM_LCD_DATA1 GPIO_NUM_13
|
||||
#define QSPI_PIN_NUM_LCD_DATA2 GPIO_NUM_11
|
||||
#define QSPI_PIN_NUM_LCD_DATA3 GPIO_NUM_12
|
||||
#define QSPI_PIN_NUM_LCD_RST GPIO_NUM_3
|
||||
#define QSPI_PIN_NUM_LCD_RST_1 GPIO_NUM_3
|
||||
#define QSPI_PIN_NUM_LCD_RST_2 GPIO_NUM_47
|
||||
#define QSPI_PIN_NUM_LCD_BL GPIO_NUM_44
|
||||
|
||||
#define UART1_TX_1 GPIO_NUM_6
|
||||
#define UART1_TX_2 GPIO_NUM_5
|
||||
#define UART1_RX_1 GPIO_NUM_5
|
||||
#define UART1_RX_2 GPIO_NUM_4
|
||||
#define TOUCH_PAD2_1 GPIO_NUM_NC
|
||||
#define TOUCH_PAD2_2 GPIO_NUM_6
|
||||
#define TOUCH_PAD1 GPIO_NUM_7
|
||||
|
||||
#define DISPLAY_OFFSET_X 0
|
||||
#define DISPLAY_OFFSET_Y 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user