Chapter 6 Compile the ESP32 source code in a small step of open source

Download the serial port test code to the computer

Download the hx-uart test code from the open source one-step github download.

configuration project

Use the tools in the official build chain to configure the project.

 

Open the "hx- uart " folder with vs code

 

Compile the project

First make clean re make all

 


Download the program through the serial port and monitor the operation of the ESP32

 

Serial port transceiver operation

According to the IO definition in the source code , plug and unplug the shorting cap, open the serial port assistant, set parameters such as port and baud rate, and send data. After ESP32 receives the data, it will send the data as it is. The test is as follows.

 

 

 

 

Click me -> more ESP32 development guide series catalog

 

 

 

 

 

 

 

Tags: Chapter 6 Compile the ESP32 source code in a small step of open source

ESP32 development ESP32 Development Guide

Related: Chapter 6 Compile the ESP32 source code in a small step of open source