官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 民丰县| 伊金霍洛旗| 霍城县| 浪卡子县| 湟源县| 苏尼特左旗| 金溪县| 通化市| 东乌珠穆沁旗| 襄垣县| 哈密市| 黄梅县| 五台县| 恩平市| 临沧市| 铅山县| 启东市| 锦屏县| 敖汉旗| 丹江口市| 新和县| 松桃| 寿宁县| 霍城县| 大化| 仙居县| 金溪县| 瑞金市| 洪湖市| 磴口县| 临西县| 岳普湖县| 紫阳县| 德钦县| 鄂州市| 东辽县| 大厂| 化隆| 丰台区| 盐源县| 怀远县|