当前位置:网站首页>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
边栏推荐
- Codejock Suite Pro v20.3.0
- Fastjon2他来了,性能显著提升,还能再战十年
- JS regular détermine si le nom de domaine ou le chemin de port IP est correct
- 【现代电子装联期末复习要点】
- C, calculation method and source program of bell number
- WPS品牌再升级专注国内,另两款国产软件低调出国门,却遭禁令
- 保姆级Anaconda安装教程
- 字符串排序
- Import address table analysis (calculated according to the library file name: number of imported functions, function serial number and function name)
- Codejock Suite Pro v20. three
猜你喜欢

TIA博图——基本操作

Config learning notes component

Pgpool II 4.3 Chinese Manual - introductory tutorial

MySQL - execution process of MySQL query statement

WPS品牌再升级专注国内,另两款国产软件低调出国门,却遭禁令

MySQL optimistic lock to solve concurrency conflict

实现缺省页面

布隆过滤器在亿级流量电商系统的应用

5分钟,把你的Excel变成在线数据库,神奇的魔方网表excel数据库

Spark 算子之filter使用
随机推荐
Partitionby of spark operator
Configuration of multi spanning tree MSTP
JVM - Chapter 2 - class loader subsystem
API IX JWT auth plug-in has an error. Risk announcement of information disclosure in response (cve-2022-29266)
Single architecture system re architecture
New developments: new trends in cooperation between smartmesh and meshbox
Fastjon2他来了,性能显著提升,还能再战十年
一文读懂串口及各种电平信号含义
IronPDF for .NET 2022.4.5455
Accumulation of applet knowledge points
vim指定行注释和解注释
cadence SPB17. 4 - Active Class and Subclass
计算某字符出现次数
JS regular détermine si le nom de domaine ou le chemin de port IP est correct
c语言---字符串+内存函数
Application case of GPS Beidou high precision satellite time synchronization system
Deletes the least frequently occurring character in the string
Spark 算子之filter使用
JS regular determines whether the port path of the domain name or IP is correct
一刷312-简单重复set-剑指 Offer 03. 数组中重复的数字(e)