Mac builds ESP32S3 development environment
This construction is based on the learning that has been completed in the windows+ESP32S3 development environment!
Before building, search the Internet and decide to use VScode to add IDF plug-ins.
-
Download VScode
-
add plugin
Directly search ESP32 in the plug-in store, download Espressif IDF, the latest version is enough!
-
After downloading the plug-in, you need to configure relevant information
Reference article:I didn't download it from GitHub, I directly chose the domestic official website. The other steps are the same.
There was an error during the installation process, but the error window directly gave the solution, just copy it to the terminal and continue running.
-
HelloWorld
The environment has been set up in the previous step, and the board is plugged in directly. My side is mac—ESP32S3—ttl—soil temperature and humidity sensor
View --> Command Panel
Enter: Show Examples projects
Select Use current ESP-IDF
Pop up the example ESP-IDF Examples
Select HelloWorld to create the project directly.
-
Open the resource manager --> main --> hello_world_main.c
-
The function of the bottom row of icons is in the reference article, so I won’t go into details. There is only one problem in the process of compiling and programming. There is no related driver for the board, so the programming cannot be entered. Go directly to (driver download) and install it . Then you can drive it, and you are done.
experience:
Read two more articles before starting to get a general idea of what I need to do and what I need, and then look at the problems that others encountered during installation, but don’t be afraid. You probably didn’t encounter anything when you installed it yourself. To solve the problem, we must know the root cause of the problem and solve it according to the reason.
The above are all personal records, not very comprehensive hand-in-hand guidance, but only record the problems encountered by individuals in their study and life. Welcome to leave a message to correct me.