本帖最后由 Hiyase 于 2023-11-22 13:33 编辑
设备环境:
CPU:Apple M1 (ARM64)
RAM: 8 GB
System:MacOS 14.1.1
使用PD虚拟机(虚拟机环境:
System:Windows 11 Pro 22H2 (22621.1702)(ARM64)
RAM: 4 GB
http://bbs.ai-thinker.com/forum.php?mod=viewthread&tid=282
上面里 给的新手教程很详细,我拉代码也算轻车熟路
我的网络环境还不错,直接Github上拉取了
- git clone https://github.com/Ai-Thinker-Open/AiPi-Open-Kits.git
- cd AiPi-Open-Kits/
- git submodule init
- git submodule update
- cd aithinker_Ai-M6Х_SDK/
- git submodule init
- git submodule update
- git clone https://github.com/bouffalolab/toolchain_gcc_t-head_windows.git
复制代码
clone
编辑环境变量也算是熟悉,我直接在用户的环境变量下修改了,没有动系统的,不过没关系,能跑就行
然后就在下面这里出错了,旁边还有一篇 http://bbs.ai-thinker.com/forum.php?mod=viewthread&tid=520 让我看看
- [11:15:03.250] - create OTA file:C:\Users\hiyase\Desktop\Project\AiPi-Open-Kits\AiPi-Eyes_weather\build\build_out\Eyes_bl616.bin.ota
- [11:15:03.604] - create XZ file:C:\Users\hiyase\Desktop\Project\AiPi-Open-Kits\AiPi-Eyes_weather\build\build_out\Eyes_bl616.xz
- [11:15:04.946] - create XZ OTA file:C:\Users\hiyase\Desktop\Project\AiPi-Open-Kits\AiPi-Eyes_weather\build\build_out\Eyes_bl616.xz.ota
- Built target combine
- cp ./../aithinker_Ai-M6X_SDK/bsp/board/bl616dk/config/edata.bin build/build_out
- process_begin: CreateProcess(NULL, cp ./../aithinker_Ai-M6X_SDK/bsp/board/bl616dk/config/edata.bin build/build_out, ...) failed.
- make (e=2): 系统找不到指定的文件。
- make: *** [../aithinker_Ai-M6X_SDK/project.build:75: build] Error 2
复制代码 按照帖子里的,找到 /aithinker_Ai-M6X_SDK/project.build 文件,把75,76,90 行的代码,在开头用 # 注释掉,就好了。
再给一个 make 命令
好了,搞定
|