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

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.

主站蜘蛛池模板: 中方县| 阿城市| 枞阳县| 凤山县| 洪湖市| 昌吉市| 宝兴县| 望奎县| 忻城县| 黔西| 宁国市| 精河县| 葫芦岛市| 潞西市| 华安县| 玉溪市| 定兴县| 宿州市| 和平县| 沙坪坝区| 金湖县| 信丰县| 沂水县| 惠水县| 耿马| 荔浦县| 东莞市| 漳浦县| 新巴尔虎右旗| 延长县| 志丹县| 鹤壁市| 白山市| 喀什市| 聂拉木县| 柞水县| 镇平县| 九台市| 台山市| 吉水县| 海宁市|