上QQ阅读APP看书,第一时间看更新
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.