diff --git a/docs/en/api-guides/tools/idf-monitor.rst b/docs/en/api-guides/tools/idf-monitor.rst index f8bc4a17d74..dc6c20c798e 100644 --- a/docs/en/api-guides/tools/idf-monitor.rst +++ b/docs/en/api-guides/tools/idf-monitor.rst @@ -40,7 +40,10 @@ For easy interaction with IDF Monitor, use the keyboard shortcuts given in the t - Reset the target board and re-starts the application via the RTS line (if connected). * - * Ctrl + F - Build and flash the project - - Pause idf_monitor to run the project ``flash`` target, then resumes idf_monitor. Any changed source files are recompiled and then re-flashed. Target ``encrypted-flash`` is run if idf_monitor was started with argument ``-E``. + - Pause idf_monitor to run the project ``flash`` target, then resumes idf_monitor. Any changed source files are recompiled and then re-flashed. Uses :ref:`fast reflashing ` by default when previously flashed binaries are available. Target ``encrypted-flash`` is run if idf_monitor was started with argument ``-E``. + * - * Ctrl + E (or E) + - Build and full flash the project + - Same as Ctrl + F (runs the ``flash`` target), but disables fast reflashing by setting the ``IDF_FLASH_FULL`` environment variable. Equivalent to ``idf.py flash -a``/``--all``. Target ``encrypted-flash`` is run if idf_monitor was started with argument ``-E``. Requires esp-idf-monitor 1.10.0 or later. * - * Ctrl + A (or A) - Build and flash the app only - Pause idf_monitor to run the ``app-flash`` target, then resumes idf_monitor. Similar to the ``flash`` target, but only the main app is built and re-flashed. Target ``encrypted-app-flash`` is run if idf_monitor was started with argument ``-E``. diff --git a/docs/zh_CN/api-guides/tools/idf-monitor.rst b/docs/zh_CN/api-guides/tools/idf-monitor.rst index f25bb542386..8328ca42dde 100644 --- a/docs/zh_CN/api-guides/tools/idf-monitor.rst +++ b/docs/zh_CN/api-guides/tools/idf-monitor.rst @@ -40,7 +40,10 @@ IDF 监视器是一个串行终端程序,使用了 esp-idf-monitor_ 包,用 - 重置设备,并通过 RTS 线(如已连接)重新启动应用程序。 * - * Ctrl + F - 编译并烧录此项目 - - 暂停 idf_monitor,运行 ``flash`` 目标,然后恢复 idf_monitor。任何改动的源文件都会被重新编译,然后重新烧录。如果 idf_monitor 是以参数 ``-E`` 启动的,则会运行目标 ``encrypted-flash``。 + - 暂停 idf_monitor,运行 ``flash`` 目标,然后恢复 idf_monitor。任何改动的源文件都会被重新编译,然后重新烧录。若存在已烧录的二进制文件,默认使用 :ref:`快速重新烧录 `。如果启动 idf_monitor 时使用了参数 ``-E``,则会运行目标 ``encrypted-flash``。 + * - * Ctrl + E (或者 E) + - 编译并全量烧录此项目 + - 与 Ctrl + F 相同(运行 ``flash`` 目标),但会通过设置环境变量 ``IDF_FLASH_FULL`` 禁用快速重新烧录。等效于 ``idf.py flash -a``/``--all``。如果 idf_monitor 启动时使用了参数 ``-E``,则会运行目标 ``encrypted-flash``。需要 esp-idf-monitor 1.10.0 或更高版本。 * - * Ctrl + A (或者 A) - 仅编译及烧录应用程序 - 暂停 idf_monitor,运行 ``app-flash`` 目标,然后恢复 idf_monitor。 这与 ``flash`` 类似,但只有主应用程序被编译并被重新烧录。如果 idf_monitor 是以参数 ``-E`` 启动的,则会运行目标 ``encrypted-flash``。