-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Ai-M61-32S开发板编译 | ||
[本文参考](http://bbs.ai-thinker.com/forum.php?mod=viewthread&tid=282&extra=page%3D2&_dsign=7fea3002) | ||
|
||
|
||
## 1-拉代码 | ||
|
||
![1-拉代码.png](./1-拉代码.png) | ||
|
||
```shell | ||
git clone https://gitee.com/Ai-Thinker-Open/AiPi-Open-Kits.git | ||
``` | ||
|
||
|
||
## 2-改submodel成gitee | ||
|
||
![2-改submodel成gitee](./2-改submodel成gitee.png) | ||
|
||
## 3-初始化各个子模块和编译工具 | ||
![3-初始化各个子模块和编译工具](./3-初始化各个子模块和编译工具.png) | ||
```shell | ||
cd AiPi-Open-Kits/ | ||
git submodule init | ||
git submodule update | ||
cd aithinker_Ai-M6X_SDK/ | ||
git submodule init | ||
git submodule update | ||
git clone https://gitee.com/bouffalolab/toolchain_gcc_t-head_windows.git | ||
``` | ||
## 4-配置环境变量 | ||
|
||
```txt | ||
aithinker_Ai-M6X_SDK\toolchain_gcc_t-head_windows\bin | ||
aithinker_Ai-M6X_SDK\tools\make | ||
aithinker_Ai-M6X_SDK\tools\ninja | ||
``` | ||
![4-配置环境变量](./4-配置环境变量.png) | ||
|
||
## 5-检查环境变量是否配置成功 | ||
```shell | ||
make -v | ||
|
||
``` | ||
![5-检查环境变量是否配置成功](./5-检查环境变量是否配置成功.png) | ||
|
||
## 6-检查环境变量是否配置成功 | ||
```shell | ||
riscv64-unknown-elf-gcc -v | ||
|
||
``` | ||
![6-检查环境变量是否配置成功](./6-检查环境变量是否配置成功.png) | ||
|
||
## 7-编译天气代码成功 | ||
```shell | ||
cd AiPi-Open-Kits\AiPi-Eyes_weather | ||
make | ||
``` | ||
![7-编译天气代码成功](./7-编译天气代码成功.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters