参照一下连接基本ok,但是要有翻墙网络与python3 PIP3,最新的ubuntut20.04系统安装OK,ubuntu18的系统有python2.7,卸载也很麻烦。链接如下https://docs.espressif.com/projects/esp-adf/zh_CN/latest/get-started/index.html#update-esp-adf
Step 1. Set up ESP-IDF,安装IDF这里描述过于简单,要到下载过来的IDF的路径 ./install.sh,这时候会提示安装python3与pip3,用ubuntu20.04
Step 2. Get ESP-ADF
cd ~/esp
git clone --recursive https://github.com/espressif/esp-adf.git
Step 3. Set up Path to ESP-ADF
export ADF_PATH=~/esp/esp-adf
Step 4. Set up the environment variables
. HOME/esp/esp−idf/export.sh注意.与HOME/esp/esp-idf/export.sh 注意.与HOME/esp/esp−idf/export.sh注意.与之间有个空格
Step 5. Start a Project
cd ~/esp
cp -r $ADF_PATH/examples/get-started/play_mp3_control .
Step 6. Connect Your Device
Step 7. Configure
cd ~/esp/play_mp3_control
idf.py menuconfig
Step 8. Build the Project
idf.py build
Step 9. Flash onto the Device
idf.py -p PORT [-b BAUD] flash monitor
Step 10. Monitor
script test.log ubuntu进入log保存模式,在路径下有一个test.log生成
然后idf.py flash monitor,按下复位键
ESP32S3 ADF开发环境安装
最新推荐文章于 2026-04-30 07:05:34 发布
本文档详细介绍了如何在Ubuntu 20.04及18.04系统上安装ESP-ADF和ESP-IDF。首先,需要设置ESP-IDF,这涉及到Python3和pip3的安装。然后,通过git克隆获取ESP-ADF,并将其路径添加到环境变量中。接着,配置环境变量并启动项目。最后,连接设备,进行编译、烧录和监控操作。注意,Ubuntu 18.04系统中存在Python2.7,卸载可能复杂。



8304

被折叠的 条评论
为什么被折叠?



