You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zhugengyu
8de71ec7ea
|
3 years ago | |
---|---|---|
.gitee | 3 years ago | |
.vscode | 3 years ago | |
baremetal/example | 3 years ago | |
bsp | 3 years ago | |
configs | 3 years ago | |
doc | 3 years ago | |
lib | 3 years ago | |
make | 3 years ago | |
scripts | 3 years ago | |
tools | 3 years ago | |
.gitignore | 3 years ago | |
Kconfig | 3 years ago | |
LICENSE | 3 years ago | |
README.en.md | 3 years ago | |
README.md | 3 years ago | |
export.sh | 3 years ago |
README.md
Phytium-Standalone-SDK
介绍
本项目发布了Phytium系列CPU的BSP源码,Baremetal参考例程及其构建编译工具
Ubuntu 20.04 x86_64环境下使用Standalone SDK
1. 配置SDK
下载SDK源代码
- 通过Gitee拉取源代码
$ git clone https://gitee.com/zhugengyu/phytium-mangosteen-sdk.git ./ft_sdk
$ cd ./ft_sdk
选择在线方式安装SDK
- 选择在线方式安装Standalone SDK在~/ft_sdk
$ ./export.sh -online
选择离线方式安装SDK
$ ./export.sh
Please type in 'source ./export.sh'
Phytium Embedded SDK Setup Done!!
Install AARCH32 Compiler at /home/ubuntu/ft_sdk/tools/gcc-arm-none-eabi-10-2020-q4-major
Install AARCH64 Compiler at /home/ubuntu/ft_sdk/tools/gcc-arm-10.2-2020.11-x86_64-aarch64-none-elf
SDK Path is set as /home/ubuntu/ft_sdk/standalone-sdk-master
- 通过离线/在线方式完成安装后,关闭当前窗口或者运行以下命令,立即生效SDK环境变量
$ source ~/.profile
2. 快速使用例程
使用FT2000-4开发板,快速体验SDK
ft_sdk/baremetal/example/aarch32/hello_world
- 编译FT2000-4例程hello_world
- 通过TFTP服务器下载到开发板上
- 跳转启动例程
没有开发板,可以通过模拟器体验一下SDK
ft_sdk/baremetal/example/aarch32/qemu_debug
- 编译例程qemu_debug
$ make
- 运行例程qemu_debug
$ make run