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

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.

主站蜘蛛池模板: 南岸区| 白城市| 右玉县| 泰州市| 舞阳县| 绥棱县| 南皮县| 武功县| 巴塘县| 宜昌市| 石河子市| 砚山县| 明水县| 双峰县| 临江市| 若尔盖县| 万安县| 库尔勒市| 容城县| 漳平市| 胶州市| 筠连县| 定襄县| 南平市| 义马市| 丹江口市| 临夏县| 南宫市| 景东| 石城县| 营山县| 喀什市| 莲花县| 通州区| 巴彦淖尔市| 北碚区| 陆丰市| 淮阳县| 原阳县| 大冶市| 亳州市|