本帖最后由 coder 于 2023-11-15 19:51 编辑
本帖参照http://bbs.ai-thinker.com/forum.php?mod=viewthread&tid=282&extra=page%3D2&_dsign=7fea3002的教程完成
1.使用gitbash拉取项目
- git clone https://gitee.com/Ai-Thinker-Open/AiPi-Open-Kits.git
复制代码
1.克隆项目
2.进入目录并初始化更新子模块
- cd AiPi-Open-Kits/
- git submodule init
- git submodule update
复制代码
2.初始化更新子模块
3.克隆适用 Windows 的编译工具链
- git clone https://gitee.com/bouffalolab/toolchain_gcc_t-head_windows.git
复制代码
4.添加工具到环境变量
- aithinker_Ai-M6X_SDK\toolchain_gcc_t-head_windows\bin
- aithinker_Ai-M6X_SDK\tools\make
- aithinker_Ai-M6X_SDK\tools\ninja
复制代码
5.编译天气模块
- cd AiPi-Eyes_weather/
- make
复制代码
编译
出现 Built target combine 就编译好了
因为我没有固件没法烧录
|