本帖最后由 wuboy19 于 2023-11-10 14:29 编辑
【板子申请】Ai-M61-32S开发环境搭建-wuboy19
vscode环境安装vscode官网
下载windows版本
图1 官网界面图
图2 安装成功图
博主百度网盘下载:
百度网盘链接 提取码:9jyd
git安装
图3 git安装过程图
博主网盘下载:
git百度网盘链接 提取码:n3zn
克隆源码和拉取子模块(小安派S1主芯片与Ai-M61-32S一致)
- git clone --recursive https://gitee.com/Ai-Thinker-Open/AiPi-Open-Kits.git
复制代码 输出信息:
- wuboy@wuboy MINGW64 /d/gitwxw (master)
- $ git clone --recursive https://gitee.com/Ai-Thinker-Open/AiPi-Open-Kits.git
- Cloning into 'AiPi-Open-Kits'...
- remote: Enumerating objects: 3580, done.
- remote: Counting objects: 100% (3580/3580), done.
- remote: Compressing objects: 100% (2130/2130), done.
- remote: Total 3580 (delta 1676), reused 3173 (delta 1270), pack-reused 0
- Receiving objects: 100% (3580/3580), 88.38 MiB | 5.13 MiB/s, done.
- Resolving deltas: 100% (1676/1676), done.
- Updating files: 100% (2597/2597), done.
- Submodule 'aithinker_Ai-M6X_SDK' (https://github.com/Ai-Thinker-Open/aithinker_Ai-M6X_SDK.git) registered for path 'aithinker_Ai-M6X_SDK'
- Cloning into 'D:/gitwxw/AiPi-Open-Kits/aithinker_Ai-M6X_SDK'...
- remote: Enumerating objects: 31122, done.
- remote: Counting objects: 100% (2971/2971), done.
- remote: Compressing objects: 100% (1828/1828), done.
- remote: Total 31122 (delta 1019), reused 2966 (delta 1019), pack-reused 28151
- Receiving objects: 100% (31122/31122), 782.57 MiB | 5.65 MiB/s, done.
- Resolving deltas: 100% (16932/16932), done.
- Submodule path 'aithinker_Ai-M6X_SDK': checked out 'c7f51ba430060b4ad4e187d623335e7ed6d9c0b9'
- Submodule 'toolchain' (https://e.coding.net/axk/ai-m6xsdkzujian/toolchain.git) registered for path 'aithinker_Ai-M6X_SDK/toolchain'
- Submodule 'tools' (https://e.coding.net/axk/ai-m6xsdkzujian/tools.git) registered for path 'aithinker_Ai-M6X_SDK/tools'
- Cloning into 'D:/gitwxw/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/toolchain'...
- remote: Enumerating objects: 3376, done.
- remote: Counting objects: 100% (3376/3376), done.
- remote: Compressing objects: 100% (1596/1596), done.
- remote: Total 3376 (delta 1578), reused 3376 (delta 1578), pack-reused 0
- Receiving objects: 100% (3376/3376), 283.61 MiB | 3.16 MiB/s, done.
- Resolving deltas: 100% (1578/1578), done.
- Cloning into 'D:/gitwxw/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/tools'...
- remote: Enumerating objects: 1429, done.
- remote: Counting objects: 100% (1429/1429), done.
- remote: Compressing objects: 100% (953/953), done.
- remote: Total 1429 (delta 376), reused 1429 (delta 376), pack-reused 0
- Receiving objects: 100% (1429/1429), 240.36 MiB | 3.77 MiB/s, done.
- Resolving deltas: 100% (376/376), done.
- Submodule path 'aithinker_Ai-M6X_SDK/toolchain': checked out '909f681d649ae7c986f39e9f57a1be4b867d4c7c'
- Submodule path 'aithinker_Ai-M6X_SDK/tools': checked out '29d4defeb943aa90b1b9fbef724b5e760e7ffa9f'
复制代码 速度有点慢,不影响,建议午睡或者吃饭之前挂着,哈哈哈
目录结构如下:
添加环境变量
测试环境
下载的东西都保存在网盘了,如下:
链接:https://pan.baidu.com/s/1Qs5oByfYaFO1Gis1zBs0wQ
提取码:mf2r
编译ok,环境搭建好了
|