SDK的获取与编译

相关仓库地址

适配的ESP-IDF

https://github.com/espressif/esp-idf/tree/release/v4.4

开发SDK

国外请使用: https://github.com/wireless-tag-com/8ms-esp32/tree/release/2.2

国内请使用: https://gitee.com/qiming-zhixian/sdk-8ms-esp32/tree/release%2F2.2/

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内任意示例下

选择开发板

bash load.sh
1): WT32_SC01 
2): WT154_C3SI1 
3): WT154_S2MI1 
4): WT_86_32_3ZW1 
5): WT280_S2MX1 
6): WT240_C3SI1 
7): WT_0_S2_240MW1 
8): ZX3D50CE02S_USRC_4832 
9): ZX3D95CE01S_AR_4848 
10): ZX3D95CE01S_UR_4848 
11): ZX4D30NE01S_UR_4827 
12): ZX4D60_AR_4896 
13): ZX2D10ECS_cESCP01
1
Set to 1-WT32_SC01
--- sdkconfig done

编译

idf.py build