Go to file
2024-06-01 23:47:21 +08:00
.devcontainer first commit 2024-05-15 23:29:00 +08:00
.vscode first commit 2024-05-15 23:29:00 +08:00
components add ha ok. 2024-06-01 23:47:21 +08:00
main 1.添加mqtt测试。 2024-05-22 23:07:24 +08:00
.clang-format add console code. 2024-05-16 01:09:36 +08:00
.gitignore add console code. 2024-05-16 01:09:36 +08:00
CMakeLists.txt first commit 2024-05-15 23:29:00 +08:00
partitions.csv 1.添加mqtt测试。 2024-05-22 23:07:24 +08:00
README.md first commit 2024-05-15 23:29:00 +08:00
sdkconfig.defaults pwd 测试成功。 2024-05-17 01:08:15 +08:00

Supported Targets ESP32 ESP32-C2 ESP32-C3 ESP32-C6 ESP32-H2 ESP32-P4 ESP32-S2 ESP32-S3

Sample project

(See the README.md file in the upper level 'examples' directory for more information about examples.)

This is the simplest buildable example. The example is used by command idf.py create-project that copies the project to user specified path and set it's name. For more information follow the docs page

How to use example

We encourage the users to use the example as a template for the new projects. A recommended way is to follow the instructions on a docs page.

Example folder contents

The project sample_project contains one source file in C language main.c. The file is located in folder main.

ESP-IDF projects are built using CMake. The project build configuration is contained in CMakeLists.txt files that provide set of directives and instructions describing the project's source files and targets (executable, library, or both).

Below is short explanation of remaining files in the project folder.

├── CMakeLists.txt
├── main
│   ├── CMakeLists.txt
│   └── main.c
└── README.md                  This is the file you are currently reading

Additionally, the sample project contains Makefile and component.mk files, used for the legacy Make based build system. They are not used or needed when building with CMake and idf.py.