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

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.

主站蜘蛛池模板: 夏津县| 江门市| 衡阳市| 赤城县| 米泉市| 策勒县| 荥经县| 乌拉特后旗| 安泽县| 铜鼓县| 会宁县| 灵山县| 乌拉特后旗| 灵川县| 榕江县| 城步| 新绛县| 乐安县| 雅安市| 连平县| 定边县| 比如县| 镇江市| 松溪县| 贵南县| 宁安市| 南乐县| 泸溪县| 横山县| 青铜峡市| 无极县| 镇江市| 庆安县| 筠连县| 开封市| 石城县| 平乡县| 海口市| 九江市| 县级市| 商丘市|