mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-28 16:46:31 +03:00
docs: Add CN translation
This commit is contained in:
@@ -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``
|
||||
--------------------------------------------
|
||||
|
||||
@@ -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``
|
||||
----------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user