【ESP32-C3-DevKitM-1】ESP32-C3 development environment construction
[Copy link]
This post was last edited by 怀穿少年梦 on 2021-6-28 19:18
This is my first time to use ESP32. I just heard that ESP32 is a SOC chip with many peripherals integrated in it, which is a bit like a single-chip microcomputer, but ESP32-C3 can easily realize the Internet of Things. So I want to learn more about it, so I applied for this development board evaluation. First, let's install the development environment.
First, follow the official website's Getting Started Guide to install. Download the offline installation version. As shown in the picture.
The offline version will download and install all the tools, which is a relatively simple installation. When I finished the installation and selected the target chip, I found that there was no ESP-C3 chip. I looked for answers on the forum, but there was no reply. Then I saw someone mentioned this problem on Bilibili, saying that the ESP-C3 chip was not supported. At first, I saw on the official website that I could upgrade ESP-IDF based on the original one, but I failed after trying. Then I tried to build a development environment on VS code. I found detailed steps given by a great god on this forum. I installed VC studio 2015, Git, Python 3.9.5 separately. After installing vs code, it still prompted that python dependencies were missing. Then I uninstalled python myself, downloaded the tool package directly from github, and after installing it, it was successfully compiled. Now I write down my own installation process and share it with those who need it.
1. First, install VS code, just download it from the official website. This software is easy to install, just confirm it all the way.
Baidu link:
https://pan.baidu.com/s/1o2olDkDOB1Ia0zfI7eGzpw
Extraction code: 5fc8 .
2. Download the v4.3 release from Espressif server:
https://dl.espressif.com/dl/esp-idf/releases/esp-idf-v4.3-beta3.zip
Or my Baidu link direct download link:
https://pan.baidu.com/s/1rf7vfpe2WjAIuYTQ3MZDGw
Extraction code: 1e6t .
After downloading, unzip it. There should be no Chinese path.
3. Download all installation packages of ESP-Tool.
The link is the same as above, in ESP-TOOL.
4. Open VS code and download the Espressif IDF plugin .
5. After downloading the plugin, reopen VS code and it will automatically jump to the ESP-setup Configuration page. In select ESP-IDF Version, select the path you just unzipped and click install.
6. After installing the above, jump to install ESPtool. Select your path to install. The download will be intermittent at this time.
Sometimes the download fails and you have to restart the installation. This is usually due to a network problem.
You can do this by copying the downloaded ESP tool to the .espressif\dist path and then waiting for the installation. Then start from step 5
After the installation is complete, the following interface will be displayed.
7. Finally, add the hello folder to see if it can be compiled. If it is compiled successfully, it means the installation is successful.
When it says "Compiled successfully", it means the installation is successful. Note that the compilation time is relatively long.
Finally, attach the installation link of the forum master
https://en.eeworld.com/bbs/thread-1167207-1-1.html
If you have any questions, you can send me a private message and discuss it.
|