先贴全部命令
- #克隆代码库
- git clone https://gitee.com/Ai-Thinker-Open/AiPi-Open-Kits.git
- # 替换仓库上游为国内地址
- cd AiPi-Open-Kits/
- sed -i 's/github.com/gitee.com/g' .gitmodules
- # 初始化工具链目录
- cd aithinker_Ai-M6X_SDK/
- git submodule init
- git submodule update
- # 拉取工具链
- chmod +x ./install.sh
- ./install.sh
- # 将工具链加入环境变量
- . ./export.sh
- # 确认工具链目录被加入环境变量
- echo $PATH
- # 编译程序
- cd ../AiPi-Eyes_weather
- make
复制代码
|