From b441df7cf1bcfcd6b58c12a92c881c1da90ada44 Mon Sep 17 00:00:00 2001 From: Alexey Gerenkov Date: Thu, 7 May 2020 16:00:06 +0300 Subject: [PATCH] docs: Fixes OpenOCD debug level option --- docs/en/api-guides/jtag-debugging/tips-and-quirks.rst | 6 +++--- docs/zh_CN/api-guides/jtag-debugging/tips-and-quirks.rst | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/en/api-guides/jtag-debugging/tips-and-quirks.rst b/docs/en/api-guides/jtag-debugging/tips-and-quirks.rst index 784552581..f2375d35e 100644 --- a/docs/en/api-guides/jtag-debugging/tips-and-quirks.rst +++ b/docs/en/api-guides/jtag-debugging/tips-and-quirks.rst @@ -314,13 +314,13 @@ In case you encounter a problem with OpenOCD or GDB programs itself and do not f :: - openocd -l openocd_log.txt -d 3 -f board/esp32-wrover-kit-3.3v.cfg + openocd -l openocd_log.txt -d3 -f board/esp32-wrover-kit-3.3v.cfg - Logging to a file this way will prevent information displayed on the terminal. This may be a good thing taken amount of information provided, when increased debug level ``-d 3`` is set. If you still like to see the log on the screen, then use another command instead: + Logging to a file this way will prevent information displayed on the terminal. This may be a good thing taken amount of information provided, when increased debug level ``-d3`` is set. If you still like to see the log on the screen, then use another command instead: :: - openocd -d 3 -f board/esp32-wrover-kit-3.3v.cfg 2>&1 | tee openocd.log + openocd -d3 -f board/esp32-wrover-kit-3.3v.cfg 2>&1 | tee openocd.log Debugger: diff --git a/docs/zh_CN/api-guides/jtag-debugging/tips-and-quirks.rst b/docs/zh_CN/api-guides/jtag-debugging/tips-and-quirks.rst index 5aa66fc48..2f63ba2cd 100644 --- a/docs/zh_CN/api-guides/jtag-debugging/tips-and-quirks.rst +++ b/docs/zh_CN/api-guides/jtag-debugging/tips-and-quirks.rst @@ -304,13 +304,13 @@ To disable software breakpoints while using JTAG, add an extra argument ``-c 'se :: - openocd -l openocd_log.txt -d 3 -f board/esp32-wrover-kit-3.3v.cfg + openocd -l openocd_log.txt -d3 -f board/esp32-wrover-kit-3.3v.cfg - 这种方式会将日志输出到文件,但是它会阻止调试信息打印在终端上。当有大量信息需要输出的时候(比如调试等级提高到 ``-d 3``)这是个不错的选择。如果你仍然希望在屏幕上看到调试日志,请改用以下命令: + 这种方式会将日志输出到文件,但是它会阻止调试信息打印在终端上。当有大量信息需要输出的时候(比如调试等级提高到 ``-d3``)这是个不错的选择。如果你仍然希望在屏幕上看到调试日志,请改用以下命令: :: - openocd -d 3 -f board/esp32-wrover-kit-3.3v.cfg 2>&1 | tee openocd.log + openocd -d3 -f board/esp32-wrover-kit-3.3v.cfg 2>&1 | tee openocd.log Debugger 端: