
上QQ阅读APP看书,第一时间看更新
Creating a project
In general, there is no project template for the ESP32 program with SDK. However, we can create a project with the project structure as shown in this screenshot:

A project structure
Each project has the following files:
- Makefile on your project root
- main folder
- Program file (*.c)
- component.mk file inside the main folder
In this demo, we create a project by creating a folder called blinking. Then, we create a Makefile file. We also create a main folder. Inside the main folder, we create the blinking.c and component.mk files.
We will write code for those files in the next section.