当前位置:网站首页>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按键,运行程序:
边栏推荐
- 【论文阅读】Mastering the game of Go with deep neural networks and tree search
- What is a system?
- [Paper reading] Mastering the game of Go with deep neural networks and tree search
- Redis uses LIST to cache the latest comments
- (六)枚举、注解
- 端口排查步骤-7680端口分析-Dosvc服务
- 微软 AI 量化投资平台 Qlib 体验
- Redis counts new and retained users
- (八)Math 类、Arrays 类、System类、Biglnteger 和 BigDecimal 类、日期类
- C语言表白代码?
猜你喜欢

C language from entry to such as soil, the data store

安全20220712

What skills do I need to learn to move from manual testing to automated testing?

Postgresql 15 source code analysis (5) - pg_control

type_traits metaprogramming library learning

递归实现汉诺塔问题

mysql基础知识(二)

端口排查步骤-7680端口分析-Dosvc服务

C语言表白代码?

扫雷游戏(c语言写)
随机推荐
Select the smoke test case, and make the first pass for the product package entering QA
[AUTOSAR-RTE]-5-Explicit (explicit) and Implicit (implicit) Sender-Receiver communication
errno错误码及含义(中文)
(四)递归、可变参数、访问修饰符、理解 main 方法、代码块
(5) final, abstract class, interface, inner class
[C language] General method of expression evaluation
Why don't you programmers make a living off your own projects?And have to work for someone else?
【AUTOSAR-RTE】-4-Port和Interface以及Data Type
binom二项分布,
Redis implements distributed locks
Understanding and Using Unity2D Custom Scriptable Tiles (4) - Start to build a custom tile based on the Tile class (below)
Bubble sort, selection sort, insertion sort, binary search directly
Difference between unallocated blocks and unused blocks in database files
识Flutter 基本组件之showTimePicker 方法
No qualifying bean of type 问题
(五)final、抽象类、接口、内部类
Pytest电商项目实战(上)
扫雷游戏(c语言写)
Zotero如何删除自动生成的标签
$parent/$children and ref