本帖最后由 AndyL 于 2024-5-2 15:12 编辑
一、Ai-M61-32S(<font color=red>Win环境搭建</font>/无需任何命令)
2、创建后续开发所需的文件夹
<font color=red>下载资料完成后如下(放到自定义的文件夹中)</font>
3、下载Git工具(<font color=green>推荐</font>)
4、配置系统环境变量
5、检验安装是否成功(Git/Cmd)
在之前创建的文件夹中,<font color=red>右键鼠标使用红框中的Git工具</font>
(<font color=red>或者Win+R,使用cmd工具</font>)
1、输入以下命令:
$ make -v
2、此时应该显示如下内容表示安装成功:
GNU Make 4.2.1
Built for x86_64-w64-mingw32
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law
3、输入以下命令:
$ riscv64-unknown-elf-gcc -v
4、此时应该显示如下内容表示安装成功:(...为省略内容)
Using built-in specs.
COLLECT_GCC=riscv64-unknown-elf-gcc
COLLECT_LTO_WRAPPER=/mnt/d/EmbeddedSoftware/Xuantie-900-gcc-elf-newlib-x86_64-V2.2.5/bin/../libexec/gcc/riscv64-unknown-elf/10.2.0/lto-wrapper
Target: riscv64-unknown-elf
...
Supported LTO compression algorithms: zlib
gcc version 10.2.0 (Xuantie-900 elf newlib gcc Toolchain V2.2.5 B-20220323)
<font color=red>🎉️ 至此整个环境就已经搭建完毕!🎉️ </font> |