ESP32-S3 master分支开发环境搭建
时间2021年10月19号
最近入手了一个esp32-s3开发板 由于最新的IDF只到4.3.1
想要开发esp32-s3 需要安装 master
打开官网的说明
https://docs.espressif.com/projects/esp-idf/zh_CN/latest/esp32s3/get-started/index.html
第一步 安装 ESP-IDF 工具安装器
链接: https://dl.espressif.com/dl/esp-idf/?idf=4.4
我选择的是离线包
然后就是下一步下一步 就好了
第二步 切换master分支
这个用ESP-IDF 4.3 CMD 运行
cd $IDF_PATH
git checkout master
git pull
git submodule update --init --recursive
cd $IDF_PATH 就是 这个路径
然后去做官方的第三步
以此往下操作就好了
我目前操作过程中会遇到的错误罗列下
- 这是个 Python问题
The following Python requirements are not satisfied:
idf-component-manager>=0.2.99-beta
解决办法:
在espidf\esp-idf下用有管理员权限的powershell执行pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
一定要在 espidf\esp-idf目录下哦!
这个是在更新成功 - 错误 确实汇编器
解决:执行install脚本时,不要加后面的esp32s2之类的 install.sh
一定要在 espidf\esp-idf目录下哦!
3.我运行idf.py set-target esp32s3 会有下面错误
Directory ‘c:\users\win10\esp\hello_world\build’ doesn’t seem to be a CMake build directory. Refusing to automatically delete files in this directory. Delete the directory manually to ‘clean’ it.
到这个 删除掉就好了
以上都是我遇到的问题 在此记录下 过段时间等 官网完善了就没这问题了
在此感谢一个群友的帮助
版权声明:本文为qq_33358260原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。