拉取 AiPi-Open-Kits库 git clone https://gitee.com/Ai-Thinker-Open/AiPi-Open-Kits.git
拉取 M61 SDK、子模块 cd AiPi-Open-Kits/
git submodule init
git submodule update继续拉取SDK的子模块 cd aithinker_Ai-M6X_SDK/
git submodule init
git submodule update拉取win的编译工具链 原目录
git clone https://gitee.com/bouffalolab/toolchain_gcc_t-head_windows.git设置编译工具路径分别将以下路径加入环境变量 aithinker_Ai-M6X_SDK\toolchain_gcc_t-head_windows\bin
aithinker_Ai-M6X_SDK\tools\make
aithinker_Ai-M6X_SDK\tools\ninja
验证环境 make -v
riscv64-unknown-elf-gcc -v编译天气站vscode中打开AiPi-Open-Kits
编译AiPi-Eyes_weather选中该文件夹,右键在终端中输入make编译 编译失败:SDK报错,最后通过搜索解决了
|