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

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.

主站蜘蛛池模板: 象山县| 平武县| 辰溪县| 随州市| 江永县| 甘肃省| 闻喜县| 英德市| 湘西| 古田县| 陕西省| 涞源县| 辽阳县| 西青区| 库车县| 高陵县| 光山县| 沅陵县| 诸暨市| 郓城县| 常山县| 荥阳市| 柘城县| 东平县| 安福县| 三河市| 沅陵县| 太原市| 福贡县| 西充县| 阿鲁科尔沁旗| 嫩江县| 屯昌县| 峡江县| 仁寿县| 涿州市| 清河县| 筠连县| 弥勒县| 古浪县| 曲沃县|