feat(factory): support USB CDC alongside UART CLI
This commit is contained in:
@@ -1380,6 +1380,16 @@ menu "TQ Cat Configuration"
|
||||
device identity provisioning, public-key retrieval, and
|
||||
on-device challenge signing.
|
||||
|
||||
config TQ_FACTORY_CLI_USB_CDC_ENABLE
|
||||
bool "Also accept factory CLI commands over USB Serial/JTAG CDC"
|
||||
depends on TQ_FACTORY_CLI_ENABLE && SOC_USB_SERIAL_JTAG_SUPPORTED && !ESP_CONSOLE_USB_CDC
|
||||
default y
|
||||
help
|
||||
Use the ESP32-S3 built-in USB Serial/JTAG CDC port in addition
|
||||
to UART0. Each input has a separate command buffer and replies
|
||||
return to the requesting port. This is not TinyUSB/USB-OTG CDC.
|
||||
GPIO19/20 must remain connected to the native USB connector.
|
||||
|
||||
config TQ_FACTORY_CLI_TASK_STACK_BYTES
|
||||
int "Factory CLI task stack (bytes)"
|
||||
default 7168
|
||||
|
||||
Reference in New Issue
Block a user