当前位置:网站首页>ESP32编译环境的搭建
ESP32编译环境的搭建
2022-04-23 15:54:00 【Sola_Ex】
ESP32
一、资料参考
官方资料 http://esp-idf.readthedocs.io/en/latest/
二、文件准备
其实官方的文档写得很详细,但是感觉可能过于详细,看起来其实也很费时间,我的使用环境是在windows下,而介绍文档中包含有linux和MAC_OSX,所以会直接略过直接看windows。

按照提示,先进入快速入门的页面,并且找到下图的位置:

先确定好自己使用的ESP32是哪一块,我使用的是ESP-WROVER-KIT的模组,所以直接选择这个直接看外设功能以及模组相关信息,但这并不是必要的重点,我们需要找到我们需要的工具,如下图:

根据上图红色框的链接,我们可以直接下载到 “esp-idf-tools-setup-2.3.exe”这个安装包,这个安装包直接包含windows下编译ESP32环境所需的所有工具(需要联网),如果本身安装相关工具,如:python、git等等,则可以直接选择现有的不需要下载,如果没有,选择好推荐的,并且下一步,软件会自动帮你下载好。下载安装好之后,应该会在桌面上看到这样一个图标:

打开以后,是这样的,

上图的操作其实是自动配置路径,主要看“esp-idf”这个文件夹,包含了demo以及编译链插件。在编译工程的时候,实际就是调用这个文件夹里面的东西进行编译的。
三、编译
打开ESP-IDF之后,通过DOC命令,进入一个工程下,如图:

通过cd + 路径可以进到工程的根目录下,执行“idf.py build”,如果没什么差错,会直接编译成功,并且生成对应的bin文件。直接在工程下搜索bin文件,

可以找到自己想要的,剩下的就是通过乐鑫官方的flashtool进行下载了。
版权声明
本文为[Sola_Ex]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_42312125/article/details/109280313
边栏推荐
- 小程序知识点积累
- vim指定行注释和解注释
- How do you think the fund is REITs? Is it safe to buy the fund through the bank
- Sortby use of spark operator
- Accumulation of applet knowledge points
- MySQL Cluster Mode and application scenario
- leetcode-396 旋转函数
- 腾讯Offer已拿,这99道算法高频面试题别漏了,80%都败在算法上
- One brush 312 - simple repetition set - Sword finger offer 03 Duplicate number in array (E)
- Multi level cache usage
猜你喜欢

Coalesce and repartition of spark operators

Codejock Suite Pro v20.3.0

幂等性的处理

Configuration of multi spanning tree MSTP

Application of Bloom filter in 100 million flow e-commerce system

一文掌握vscode远程gdb调试

Codejock Suite Pro v20. three

Treatment of idempotency

Best practices of Apache APIs IX high availability configuration center based on tidb

Why is IP direct connection prohibited in large-scale Internet
随机推荐
大型互联网为什么禁止ip直连
Load Balancer
JS regular determines whether the port path of the domain name or IP is correct
IronPDF for . NET 2022.4.5455
小程序知识点积累
贫困的无网地区怎么有钱建设网络?
Spark 算子之sortBy使用
Upgrade MySQL 5.1 to 5.69
Multi level cache usage
Leetcode-396 rotation function
Go language, condition, loop, function
字符串最后一个单词的长度
Named in pytoch_ parameters、named_ children、named_ Modules function
新动态:SmartMesh和MeshBox的合作新动向
One brush 312 - simple repetition set - Sword finger offer 03 Duplicate number in array (E)
多级缓存使用
Intersection, union and difference sets of spark operators
c语言---指针进阶
Config组件学习笔记
C, calculation method and source program of bell number