feat(factory): support USB CDC alongside UART CLI
This commit is contained in:
@@ -100,3 +100,11 @@ bounded lock failure, cleanup and retry (`tools/test_battery_adc_init.py`).
|
||||
Config/default consistency and enabled-pin uniqueness checks passed.
|
||||
No device was flashed; touch polarity, ADC2 sampling with Wi-Fi, charger/wake,
|
||||
motor direction and concurrent operation still require hardware validation.
|
||||
|
||||
## Factory CLI UART and CDC
|
||||
|
||||
`CONFIG_TQ_FACTORY_CLI_USB_CDC_ENABLE=y` enables native USB Serial/JTAG CDC input
|
||||
on GPIO19/20 alongside UART0 (GPIO43 TX / GPIO44 RX). Logs may already appear on
|
||||
CDC through the secondary console; this option additionally enables command input
|
||||
and routes replies back to the requesting port. UART and CDC line buffers and
|
||||
pending identity values are separate. See [the CLI guide](工厂CLI串口与CDC使用说明.zh-CN.md).
|
||||
|
||||
Reference in New Issue
Block a user