forked from xiaozhi/xiaozhi-esp32
Support for DIY AI Watch HU-087 kit (#1445)
* 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
This commit is contained in:
28
main/boards/hu-087/config.h
Normal file
28
main/boards/hu-087/config.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#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_
|
||||
Reference in New Issue
Block a user