安信可 Ai-WB2模组二次开发环境安装
注释:此安装环境基于上一篇文章ESP32环境安装
博流智能官方SDK
1. 获取SDK
git clone https://github.com/bouffalolab/bl_iot_sdk.git
2. 安装make
sudo apt-get install make
3. 编译
cd customer_app/get-start/helloworld
./genromap
5.下载烧录工具
https://aithinker111.oss-cn-beijing.aliyuncs.com/bl602_flash_download_tool.zip
4.配置烧录工具文件
partition table: (分区文件)
partition_cfg_4M.toml
DTS:(射频参数文件)
bl_factory_params_IoTKitA_40M.dts
boot2:(BOOT文件)
boot2_isp_release.bin
firmware:(户编译的APP文件)
helloworld.bin
5.日志串口默认波特率为2000000,如果需要修改日志串口波特率可以在文件release\chips\bl602\device_tree\bl_factory_params_IoTKitA_40M.dts内修改,修改后重新下载即可。
安信可sdk
1.获取SDK
github仓库获取:git clone --recursive https://github.com/Ai-Thinker-Open/Ai-Thinker-WB2.git
gitee仓库获取: git clone --recursive https://gitee.com/Ai-Thinker-Open/Ai-Thinker-WB2
2.更改文件权限
cd ./SDK路径/toolchain/riscv/Linux/
./chmod755.sh (注:一般chmod755.sh是没有执行权限的,应先更改chmod755.sh文件权限,再运行脚本chmod755.sh)
3.编译demo(helloword项目)
cd ./SDK路径/applications/get-started/helloworld
make -j8
4.下载烧录工具
https://aithinker111.oss-cn-beijing.aliyuncs.com/bl602_flash_download_tool.zip
5.将编译好的bin文件下载到windos中
./SDK路径/build_out/helloworld.bin
6.配置烧录工具文件
partition table: (分区文件)
partition_cfg_4M.toml
DTS:(射频参数文件)
bl_factory_params_IoTKitA_40M.dts
boot2:(BOOT文件)
boot2_isp_release.bin
firmware:(户编译的APP文件)
helloworld.bin
7.日志串口默认波特率为2000000,如果需要修改日志串口波特率可以在文件release\chips\bl602\device_tree\bl_factory_params_IoTKitA_40M.dts内修改,修改后重新下载即可。

269

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



