HANDS ON¶
Program Preparation¶
Find some programs for testing, here, I use the following repository:
Hardware Preparation¶
Connect the ESP32 development board to the computer
Select a Program¶
Enter the repository esp32-board
we just downloaded, find a program, such as helloworld
, enter the directory:
Set the Development Board Type¶
If it is a general ESP32 development board, you can ignore this step, but if it is another development board, it is better to specify the development board type, such as esp32-s3:
Compile the Program¶
Flash the Program¶
Note that you can view the USB port where the device is located:
By comparing the linked/non-linked, find the port where the device is located, such as /dev/ttyACM1
, and then flash the program:
Monitor the Program Running¶
or you can use a specific port
Exit Monitoring¶
Press Ctrl + ]
to exit monitoring