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

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.

主站蜘蛛池模板: 睢宁县| 平罗县| 聂荣县| 景谷| 乌拉特前旗| 鹤岗市| 阜新市| 晋州市| 柯坪县| 织金县| 福安市| 西城区| 雷州市| 遂宁市| 沽源县| 黎平县| 昌都县| 塘沽区| 武平县| 福鼎市| 酒泉市| 潜江市| 湛江市| 霍邱县| 鄄城县| 开封县| 马鞍山市| 西盟| 陇西县| 冕宁县| 会理县| 涡阳县| 沁源县| 旅游| 犍为县| 会昌县| 岳西县| 丰台区| 江安县| 双城市| 华池县|