SDK的获取与编译
相关仓库地址
适配的ESP-IDF
https://github.com/espressif/esp-idf/tree/release/v4.4
开发SDK
国外请使用: https://github.com/wireless-tag-com/8ms-esp32/tree/release/3.0
国内请使用: https://gitee.com/qiming-zhixian/sdk-8ms-esp32/tree/release%2F3.0/
8MS操作文档
https://doc.8ms.xyz/
环境搭建
linux
ubuntu
sudo apt update
sudo apt install git
sudo apt install python3
sudo apt install cmake
sudo apt install libusb-1.0-0-dev
git clone -b release/v4.4 --recursive https://github.com/espressif/esp-idf.git
cd esp-idf
export IDF_GITHUB_ASSETS="dl.espressif.com/github_assets"
bash install.sh
source export.sh
windows
参考以下链接,建议使用离线安装 https://docs.espressif.com/projects/esp-idf/zh_CN/release-v4.4/esp32s3/get-started/windows-setup.html#get-started-windows-tools-installer
或克隆上述esp-idf仓库后执行根目录下install.bat
使用docker搭建
docker pull shukewt/qmsd_idf_4_4
docker container run -it shukewt/qmsd_idf_4_4 /bin/bash
source ~/esp/esp-idf/export.sh
参考资料
编译
选择工程编译
cd到sdk目录下example内任意示例下
选择开发板
idf.py load-board
--- Please select board to load sdkconfig ---
0): ZX3D50CE02S-USRC-4832
1): ZX3D95CE01S-AR
2): ZX3D95CE01S-UR
3): ZX4D30NS
x): exit
Select board [0 ~ 3]: 0
Select board: ZX3D50CE02S-USRC-4832
Executing action: fullclean
Done
编译
idf.py build