My playground for Ai-Thinker ESP32C3 board, may be broken at any given time.
Go to file
imi415 acb5f6dc0f
Added License.
2021-05-24 00:41:43 +08:00
main Initial commit, with WiFi and disco light. 2021-05-24 00:38:59 +08:00
CMakeLists.txt Initial commit, with WiFi and disco light. 2021-05-24 00:38:59 +08:00
LICENSE Added License. 2021-05-24 00:41:43 +08:00
Makefile Initial commit, with WiFi and disco light. 2021-05-24 00:38:59 +08:00
README.md Initial commit, with WiFi and disco light. 2021-05-24 00:38:59 +08:00
sdkconfig.defaults Initial commit, with WiFi and disco light. 2021-05-24 00:38:59 +08:00

README.md

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.