当前位置:网站首页>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
边栏推荐
- MySQL集群模式與應用場景
- Cap theorem
- VIM specifies the line comment and reconciliation comment
- C language --- string + memory function
- vim指定行注释和解注释
- [open source tool sharing] MCU debugging assistant (oscillograph / modification / log) - linkscope
- 计算某字符出现次数
- What if the server is poisoned? How does the server prevent virus intrusion?
- Vision of building interstellar computing network
- 删除字符串中出现次数最少的字符
猜你喜欢
一文读懂串口及各种电平信号含义
pgpool-II 4.3 中文手册 - 入门教程
Config learning notes component
Large factory technology implementation | industry solution series tutorials
Temporal model: long-term and short-term memory network (LSTM)
MySQL - execution process of MySQL query statement
MySQL Cluster Mode and application scenario
MySQL集群模式與應用場景
Implement default page
使用 Bitnami PostgreSQL Docker 镜像快速设置流复制集群
随机推荐
小程序知识点积累
多级缓存使用
Fastjon2 here he is, the performance is significantly improved, and he can fight for another ten years
Coalesce and repartition of spark operators
Import address table analysis (calculated according to the library file name: number of imported functions, function serial number and function name)
CVPR 2022 quality paper sharing
TIA博图——基本操作
VIM specifies the line comment and reconciliation comment
保姆级Anaconda安装教程
The principle and common methods of multithreading and the difference between thread and runnable
【第5节 if和for】
C, calculation method and source program of bell number
cadence SPB17. 4 - Active Class and Subclass
Redis master-slave replication process
Spark 算子之partitionBy
Groupby use of spark operator
The length of the last word of the string
Named in pytoch_ parameters、named_ children、named_ Modules function
提取不重复的整数
王启亨谈Web3.0与价值互联网“通证交换”