# 环境搭建 ## 环境搭建 Ubuntu 环境下 ``` SHELL sudo apt update sudo apt install git sudo apt install python3 sudo apt install cmake sudo apt install libusb-1.0-0-dev sudo git clone https://gitee.com/qiming-zhixian/esp-idf.git cd esp-idf export IDF_GITHUB_ASSETS="dl.espressif.com/github_assets" bash install.sh source export.sh ``` Windows 环境下 自行安装git、python3、cmake ``` cmd git clone https://gitee.com/qiming-zhixian/esp-idf.git cd esp-idf install.bat export.bat ``` - 由于windows环境差异较大,环境搭建中遇到的问题需要视具体问题解决。 ## 使用dock搭建 ``` shell docker pull shukewt/qmsd_idf_4_4 docker container run -it shukewt/qmsd_idf_4_4 /bin/bash source ~/esp/esp-idf/export.sh ``` ## 参考资料 - 启明智显[ESP-IDF](https://gitee.com/qiming-zhixian/esp-idf)代码仓库 - [乐鑫开发文档](https://docs.espressif.com/projects/esp-idf/zh_CN/v4.4.1/esp32/get-started/index.html#)