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

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.

主站蜘蛛池模板: 南漳县| 新河县| 新安县| 富蕴县| 南汇区| 即墨市| 秭归县| 新昌县| 建阳市| 卢湾区| 珲春市| 大安市| 乌拉特前旗| 武隆县| 长寿区| 惠州市| 宜黄县| 德清县| 博野县| 仪陇县| 安新县| 郸城县| 隆昌县| 肇州县| 涞源县| 光泽县| 罗定市| 大连市| 漯河市| 双桥区| 岳池县| 同仁县| 泰来县| 望城县| 稻城县| 安康市| 秦安县| 梅州市| 玉林市| 永宁县| 宁陕县|