feat: 支持语音模块。

This commit is contained in:
2023-02-24 21:29:15 +08:00
parent 0b1e0ef67c
commit 13a00fbe1b
12 changed files with 290 additions and 62 deletions

View File

@ -67,38 +67,38 @@ endmenu
menu "Encoder Configuration"
config ENCODER_0_CLK_PIN
int "encoder 0 click GPIO"
range 1 32
range 0 32
default 2
help
Encoder 0 clock pin
config ENCODER_0_DT_PIN
int "encoder 0 data GPIO"
range 1 32
range 0 32
default 3
help
Encoder 0 clock data
config ENCODER_0_SW_PIN
int "encoder 0 switch GPIO"
range 1 32
range 0 32
default 4
help
Encoder 0 switch pin
config ENCODER_1_CLK_PIN
int "encoder 1 click GPIO"
range 1 32
range 0 32
default 5
help
Encoder 1 clock pin
config ENCODER_1_DT_PIN
int "encoder 1 data GPIO"
range 1 32
range 0 32
default 6
help
Encoder 1 clock data
config ENCODER_1_SW_PIN
int "encoder 1 switch GPIO"
range 1 32
range 0 32
default 7
help
Encoder 1 switch pin
@ -108,13 +108,13 @@ endmenu
menu "I2C Configuration"
config I2C_SCL
int "I2C SCL GPIO"
range 1 32
range 0 32
default 8
help
I2C SCL GPIO
config I2C_SDA
int "I2C SDA GPIO"
range 1 32
range 0 32
default 10
help
I2C SDA GPIO
@ -124,4 +124,25 @@ menu "I2C Configuration"
default 0
help
I2C NUM
endmenu
endmenu
menu "UART Configuration"
config UART_TX
int "UART TX GPIO"
range 0 32
default 21
help
UART TX GPIO
config UART_RX
int "UART RX GPIO"
range 0 32
default 20
help
UART RX GPIO
config UART_NUM
int "UART NUM"
range 0 1
default 0
help
UART NUM
endmenu