feat(product-test): add UART automation flow

This commit is contained in:
admin
2026-04-29 23:39:43 +08:00
parent 9294d72aea
commit d735446547
14 changed files with 2091 additions and 4 deletions

View File

@@ -529,4 +529,36 @@ config TQ_VOICE_CODEC_MIC_GAIN_DB
range 0 42
default 24
menu "Product Test UART"
config TQ_PRODUCT_TEST_UART_ENABLE
bool "Enable product test UART protocol"
default y
config TQ_PRODUCT_TEST_UART_PORT
int "Product test UART port"
range 0 2
default 0
depends on TQ_PRODUCT_TEST_UART_ENABLE
config TQ_PRODUCT_TEST_UART_BAUD
int "Product test UART baud rate"
range 9600 3000000
default 115200
depends on TQ_PRODUCT_TEST_UART_ENABLE
config TQ_PRODUCT_TEST_UART_TX_PIN
int "Product test UART TX GPIO (-1 keeps current pin)"
range -1 48
default -1
depends on TQ_PRODUCT_TEST_UART_ENABLE
config TQ_PRODUCT_TEST_UART_RX_PIN
int "Product test UART RX GPIO (-1 keeps current pin)"
range -1 48
default -1
depends on TQ_PRODUCT_TEST_UART_ENABLE
endmenu
endmenu