docs: update using usb_serial_jtag documents

This commit is contained in:
Cao Sen Miao
2021-11-12 14:16:53 +08:00
parent 7e9d90ca22
commit a42a1f85f5
3 changed files with 21 additions and 6 deletions

View File

@@ -168,6 +168,9 @@ In a typical application, you only need to call :cpp:func:`esp_console_new_repl_
After that, you can register your own commands with :cpp:func:`esp_console_cmd_register`. The REPL environment keeps in init state until you call :cpp:func:`esp_console_start_repl`.
.. only:: SOC_USB_SERIAL_JTAG_SUPPORTED
Likewise, if your REPL environment is based on USB_SERIAL_JTAG device, you only need to call :cpp:func:`esp_console_new_repl_usb_serial_jtag` at first step. And call other functions as usual.
Application Example
-------------------