当前位置:网站首页>VScode+ESP32快速安装ESP-IDF插件
VScode+ESP32快速安装ESP-IDF插件
2022-07-31 04:10:00 【hwd00001】
文章目录
1.安装VS code
下载vscode :https://code.visualstudio.com/Download
按照提示安装。
2.在VScode安装espressif IDF
- 打开VScode,在插件管理搜索espressif IDF,点击安装。

- espressif IDF插件安装完成:

3.安装ESP-IDF,ESP-IDF-Tools以及相关工具链
3.1打开命令面板

3.2在命令面板搜索ESP-IDF configure ESP-IDF extension

3.3配置ESP-IDF 插件

3.4开始安装工具链

如果安装完成,是下面的界面,此时就可以测试编译例程。
3.5 功能快捷键
最下面一行是快捷功能图标,相应的功能也可以在命令面板中输入命令。
4.测试编译例程
4.1在命令面板中搜索“example”

选择了“ESP-IDF:show Examples Projects”,还会出现下面的提示:
继续选择:“Use current ESP-IDF”,此时才出现例程:
4.2 拷贝例程到指定路径

4.3编译例程
如果有杀毒软件,最好关闭,可以提高编译速度。不关闭杀毒软件要30多分钟,关闭的话,只要2分钟多一点。参考《3.5 功能快捷键》点击编译工程图标,开始编译(芯片型号 默认是ESP32,menuconfig不改动)。
4.4 下载程序

烧录方式选择UART,选择相应的串口,要使开发板进入烧录模式(按住IO0,按一下EN,就进入烧录模式,可以松开IO0):
烧录完毕:
按下EN按键,运行程序:
边栏推荐
- 【AUTOSAR-RTE】-4-Port and Interface and Data Type
- C# 实现PLC的定时器
- $parent/$children and ref
- MySQL基础操作
- errno错误码及含义(中文)
- (5) final, abstract class, interface, inner class
- Based on the local, linking the world | Schneider Electric "Industrial SI Alliance" joins hands with partners to go to the future industry
- What is a system?
- Why SocialFi achievement Web3 decentralized social in the future
- MySQL修改root账号密码
猜你喜欢
![Summary of Huawei Distributed Storage FusionStorage Knowledge Points [Interview]](/img/83/e0163b324448c6ef5b106862673637.jpg)
Summary of Huawei Distributed Storage FusionStorage Knowledge Points [Interview]

MySQL基础操作

No qualifying bean of type question

Unity2D 自定义Scriptable Tiles的理解与使用(四)——开始着手构建一个基于Tile类的自定义tile(下)

Thinking about data governance after Didi fines

exsl文件预览,word文件预览网页方法
![[C language] Three-pointed chess (classic solution + list diagram)](/img/64/18ed08b64f9618bbd7f24ee16e6a6f.jpg)
[C language] Three-pointed chess (classic solution + list diagram)

浅识Flutter 基本组件之showDatePicker方法

已解决:不小心卸载pip后(手动安装pip的两种方式)

(8) Math class, Arrays class, System class, Biglnteger and BigDecimal classes, date class
随机推荐
three.js make 3D photo album
C# 实现PLC的定时器
[C language] Three-pointed chess (classic solution + list diagram)
识Flutter 基本组件之showTimePicker 方法
A brief introduction to the CheckboxListTile component of the basic components of Flutter
【C语言进阶】文件操作(一)
endian mode
Can't load /home/Iot/.rnd into RNG
BUG definition of SonarQube
三子棋的代码实现
Exsl file preview, word file preview web page method
「 每日一练,快乐水题 」1331. 数组序号转换
Detailed explanation of TCP and UDP
IDEA常用快捷键与插件
Daily practice of LeetCode - 138. Copy a linked list with random pointers
【论文阅读】Mastering the game of Go with deep neural networks and tree search
安全20220718
Knowledge Distillation 7: Detailed Explanation of Knowledge Distillation Code
beforeDestroy与destroyed的使用
【AUTOSAR-RTE】-5-Explicit(显式)和Implicit(隐式) Sender-Receiver communication