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

Compiling and flashing

After we configured our project, we can flash our program into the ESP32 board. We can type this command on the current project directory from the following terminal:

$ make flash

This command performs compiling and flashing. If the make command is not found, you should install make for your platform.

If you have configured a serial port of the ESP32 board, the program will be flashed. Otherwise, you will get a timeout because the tool cannot find the ESP32 serial port. You can see my program output on the flashing process in the following screenshot:

Flashing a program into the ESP32 board

If this succeeds, you should see lighting on LED 1, LED2, and LED 3.

Next, we develop the ESP32 program using Arduino Sketch.

主站蜘蛛池模板: 广元市| 佛冈县| 栾川县| 武平县| 镇沅| 石渠县| 商河县| 甘孜县| 龙南县| 海南省| 辽阳市| 石嘴山市| 泰兴市| 四川省| 镇安县| 三河市| 绥芬河市| 临邑县| 闽侯县| 株洲市| 英山县| 南宁市| 惠来县| 无锡市| 根河市| 天镇县| 阿克陶县| 平谷区| 桃园县| 太保市| 甘肃省| 鹿邑县| 崇仁县| 龙江县| 南郑县| 资阳市| 嵊州市| 龙胜| 依安县| 云南省| 安龙县|