当前位置:网站首页>Esp32 S3 vscode+idf setup

Esp32 S3 vscode+idf setup

2022-07-25 18:34:00 Sola_ Ex

Premise installation

  • install vscode
  • install git

open vscode, install idf plug-in unit

stay vscode In the market for plug-ins , look for IDF The words...
 Insert picture description here
And click Install , My has been installed . Normally, after the installation is completed, you will enter a startup page
 Insert picture description here
If you don't get into , Just click the icon on the left to enter
 Insert picture description here

install IDF

Press down F1, Input IDF, find “ To configure ESP-IDF plug-in unit ”
 Insert picture description here
choice ADVANCED
 Insert picture description here
Choose what you need IDF edition , I usually choose the latest , In fact, it can be updated later , According to your own needs . The following is the configuration tool chain path and IDF The path of
 Insert picture description here
Click... After configuration Install Just wait slowly .

Wait for these places to tick slowly
 Insert picture description here
And this
 Insert picture description here
Your basic configuration is complete .

compile

I use ESP32 S3 DevkitC-1 My little board , Then we need to create demo

Also press F1, And type exam
 Insert picture description here
Then continue to choose this
 Insert picture description here
Here are a wealth of examples , Choose whichever you like , I choose blink
 Insert picture description here
Create a folder on the desktop or elsewhere ,
 Insert picture description here
 Insert picture description here
 Insert picture description here
And then use vscode Open this folder
 Insert picture description here
Not familiar at first , So give them the picture above , Marked , I am using USB Transfer to serial port to download , You need an external connection USB turn TTL modular , Pick up TX RX GND, Just have power supply .

compile

Directly click the compiled place below , Wait slowly
 Please add a picture description

download

IDF There are three tools to choose from

  • JTAG
  • DFU
  • UART

However, according to the actual needs , I use UART The way .
Then click the download icon to download . Note before downloading , You need to press and hold boot, Then press reset , Give Way ESP32 Enter download mode , Then release , Otherwise it will be like this
 Insert picture description here
Come back
 Insert picture description here
The correct thing is . When the download is complete , Press down rst Reset , The program can run .
 Please add a picture description
When it's over, start with the light , Everyone is a lamp madman …

原网站

版权声明
本文为[Sola_ Ex]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/206/202207251825391132.html