ubuntu 18.04搭建ESP-IDF 20211114

1.应用宝安装VMware,并激活

2.下载ubuntu 18
https://mirrors.aliyun.com/ubuntu-releases/bionic/ubuntu-18.04.6-desktop-amd64.iso

3.安装并ubuntu18

4. 安装下面软件包
sudo apt-get install git wget flex bison gperf python3 python3-pip python3-setuptools cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0

5.1 下载gitee工具
git clone https://gitee.com/EspressifSystems/esp-gitee-tools.git
 
5.2 下载esp-idf(仅克隆 esp-idf,不包含子模块)
git clone -b v4.3.1 https://gitee.com/EspressifSystems/esp-idf.git
 
5.3 进入工具目录,执行命令更新子模块
cd esp-gitee-tools
./submodule-update.sh ~/esp/esp-idf    (~/esp/esp-idf 替换为你的 esp-idf 实际路径)

6. 设置工具
cd ~/esp/esp-idf
export IDF_GITHUB_ASSETS="dl.espressif.com/github_assets"
./install.sh

7. 设置环境变量
. $HOME/esp/esp-idf/export.sh

8. 更新cryptography
python -m pip install --upgrade pip
pip install cryptography==3.4.8

接下来就可以进入helloworld目录进行编译了。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值