feat(tools): Added create-project argument to allow cpp project creation

Closes https://github.com/espressif/esp-idf/issues/16121
This commit is contained in:
Jakub Kocka
2026-04-28 09:24:20 +02:00
parent b1d68624e1
commit fb02854ad6
8 changed files with 58 additions and 10 deletions
+1 -1
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.
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``
--------------------------------------------