Compile ESP32 under VScode

 1. After setting up the environment, there will be the following two important folders

 

 One is used to store esp-idf (SDK) files; the other is used to store tools such as compilation.

2. You can copy a project and download it to the specified file for development. The copy project is as follows

There is only main folder, CMakeLists.txt and README.md.

VScode opens as follows

 After compiling, there will be more build folders.

 

3. If you change the folder or change the folder name, delete the "build" folder and compile it again.

Guess you like

Origin blog.csdn.net/m0_38012497/article/details/130098537