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

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.

主站蜘蛛池模板: 泰顺县| 四会市| 凤冈县| 浦城县| 田林县| 财经| 镇江市| 宁津县| 龙口市| 水富县| 咸阳市| 都昌县| 绥宁县| 辽阳县| 榆林市| 昌吉市| 灵武市| 商洛市| 庐江县| 冷水江市| 安义县| 红桥区| 大荔县| 常熟市| 海南省| 锡林浩特市| 根河市| 余干县| 沅陵县| 子洲县| 乌鲁木齐县| 贵港市| 洪洞县| 姜堰市| 安丘市| 赣州市| 社旗县| 东方市| 郧西县| 桐柏县| 郓城县|