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

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.

主站蜘蛛池模板: 遵义市| 信阳市| 昭觉县| 德兴市| 庆城县| 奉贤区| 子洲县| 漠河县| 浏阳市| 大化| 蓬莱市| 阿拉尔市| 扶沟县| 若羌县| 杂多县| 滨海县| 东乡族自治县| 惠东县| 吴堡县| 湟源县| 罗江县| 固原市| 岳阳县| 三门县| 乳山市| 万盛区| 榆林市| 康乐县| 德令哈市| 游戏| 翼城县| 林周县| 邛崃市| 嘉祥县| 灵石县| 富源县| 湘乡市| 专栏| 贞丰县| 长乐市| 安塞县|