forked from xiaozhi/xiaozhi-esp32
* Added new board for hu-087 smart AI watch * Added a README with link to prouct on Aliexpress * Trying to control chatbot mode instead of listening state * Removed the esp32-s3 prefix for the board * Changed board name to match folder naming * Fixed formating and long URL * Fixed typo in README.md
29 lines
724 B
C
29 lines
724 B
C
#ifndef _BOARD_CONFIG_H_
|
|
#define _BOARD_CONFIG_H_
|
|
|
|
#include <driver/gpio.h>
|
|
|
|
#define AUDIO_INPUT_SAMPLE_RATE 16000
|
|
#define AUDIO_OUTPUT_SAMPLE_RATE 24000
|
|
|
|
#define AUDIO_I2S_MIC_GPIO_WS GPIO_NUM_4
|
|
#define AUDIO_I2S_MIC_GPIO_SCK GPIO_NUM_5
|
|
#define AUDIO_I2S_MIC_GPIO_DIN GPIO_NUM_6
|
|
#define AUDIO_I2S_SPK_GPIO_DOUT GPIO_NUM_7
|
|
#define AUDIO_I2S_SPK_GPIO_BCLK GPIO_NUM_15
|
|
#define AUDIO_I2S_SPK_GPIO_LRCK GPIO_NUM_16
|
|
#define AUDIO_I2S_SPK_GPIO_CTLR GPIO_NUM_17
|
|
|
|
|
|
#define TOUCH_BUTTON_GPIO GPIO_NUM_18
|
|
|
|
#define DISPLAY_SDA_PIN GPIO_NUM_41
|
|
#define DISPLAY_SCL_PIN GPIO_NUM_42
|
|
#define DISPLAY_WIDTH 128
|
|
#define DISPLAY_HEIGHT 64
|
|
|
|
#define DISPLAY_MIRROR_X true
|
|
#define DISPLAY_MIRROR_Y true
|
|
|
|
#endif // _BOARD_CONFIG_H_
|