网站首页 > 博客文章 正文
ESP-IDF在windows下编译的速度过慢,所以还是搭建一个Linux开发环境,速度快10倍。
1 安装基础工具
sudo apt-get install gcc git wget make libncurses-dev flex bison gperf python python-pip python-setuptools python-serial python-cryptography python-future
2. 下载编译链工具
3. 解压
4. 导出路径
export PATH="$HOME/esp/xtensa-esp32-elf/bin:$PATH"
5. 获取esp-idf
cd ~/esp
git clone -b v3.2 --recursive https://github.com/espressif/esp-idf.git
6. 导出开发框架库
export IDF_PATH=~/esp/esp-idf
7. 安装相应的依赖库
python -m pip install --user -r $IDF_PATH/requirements.txt
8. 复制例子
cp -r $IDF_PATH/examples/get-started/hello_world .
9.配置
cd hello_world
make menuconfig
10.编译
make 或者make all
11.烧录
make flash
12.查看运行结果
make monitor 或者make simple_monitor
monitor的一些操作:
Ctrl+] 退出
Ctrl-T Ctrl-F重新烧录相当于 make flash
Ctrl-T Ctrl-A相当于 make app-flash
Ctrl-T Ctrl-R重启
Ctrl-T Ctrl-P暂停
猜你喜欢
- 2024-09-27 视频下载神器youtube-dl最详细的使用方法
- 2024-09-27 微前端——前端开发新体验(微前端指的什么)
- 2024-09-27 手机APP哪款好用?这里分享5款,都是你喜欢用的
- 2024-09-27 Micro Era Completes Multi-Million Pre-A Round Financing
- 2024-09-27 基于Vue3+TS+ElementPlus+Qiankun构建微应用项目
- 2024-09-27 优维低代码:Use Resolves(优维是什么意思)
- 2024-09-27 剑走偏锋的另类袖珍音箱-SUGR方糖音箱上手评测
- 2024-09-27 水滴低代码搭建——6倍提效,新品首发素材审核系统实践之路
- 2024-09-27 优维低代码:Provider 构件(优维科技cmdb)
- 2024-09-27 手把手教你写一个简易的微前端框架
你 发表评论:
欢迎- 最近发表
-
- 给3D Slicer添加Python第三方插件库
- Python自动化——pytest常用插件详解
- Pycharm下安装MicroPython Tools插件(ESP32开发板)
- IntelliJ IDEA 2025.1.3 发布(idea 2020)
- IDEA+Continue插件+DeepSeek:开发者效率飙升的「三体组合」!
- Cursor:提升Python开发效率的必备IDE及插件安装指南
- 日本旅行时想借厕所、买香烟怎么办?便利商店里能解决大问题!
- 11天!日本史上最长黄金周来了!旅游万金句总结!
- 北川景子&DAIGO缘定1.11 召开记者会宣布结婚
- PIKO‘PPAP’ 洗脑歌登上美国告示牌
- 标签列表
-
- ifneq (61)
- messagesource (56)
- aspose.pdf破解版 (56)
- promise.race (63)
- 2019cad序列号和密钥激活码 (62)
- window.performance (66)
- qt删除文件夹 (72)
- mysqlcaching_sha2_password (64)
- ubuntu升级gcc (58)
- nacos启动失败 (64)
- ssh-add (70)
- jwt漏洞 (58)
- macos14下载 (58)
- yarnnode (62)
- abstractqueuedsynchronizer (64)
- source~/.bashrc没有那个文件或目录 (65)
- springboot整合activiti工作流 (70)
- jmeter插件下载 (61)
- 抓包分析 (60)
- idea创建mavenweb项目 (65)
- vue回到顶部 (57)
- qcombobox样式表 (68)
- vue数组concat (56)
- tomcatundertow (58)
- pastemac (61)
本文暂时没有评论,来添加一个吧(●'◡'●)