docs: Add CN translation

This commit is contained in:
renpeiying
2026-04-23 16:50:11 +08:00
committed by Jakub Kocka
parent fb02854ad6
commit 476bacf52a
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ Start a New Project: ``create-project``
idf.py create-project <project name>
This command creates a new ESP-IDF project. Additionally, the folder where the project will be created in can be specified by the ``--path`` option. Pass ``--cpp`` to create a C++ source file (``<project name>.cpp``) with C linkage for ``app_main`` instead of a ``.c`` file.
This command creates a new ESP-IDF project. Additionally, the folder where the project will be created in can be specified by the ``--path`` option. Pass ``--cpp`` to create a C++ source file (<project name>.cpp) with C linkage for ``app_main`` instead of a ``.c`` file.
Create a New Component: ``create-component``
--------------------------------------------

View File

@@ -25,7 +25,7 @@ IDF 前端工具 - ``idf.py``
idf.py create-project <project name>
此命令创建一个新的 ESP-IDF 工程。此外,使用 ``--path`` 选项可指定工程创建路径
此命令用于创建一个新的 ESP-IDF 工程。此外,使用 ``--path`` 参数,可以指定项目的创建路径。使用 ``--cpp`` 参数,可以生成 C++ 源文件(<项目名称>.cpp而不是生成默认的 ``.c`` 文件,同时 ``app_main`` 函数将保持 C 语言链接方式
创建新组件:``create-component``
----------------------------------------