File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ # BM3803板级支持包
2+
3+ ## 1. 简介
4+
5+ BM3803是中国航天科技集团公司第九研究院第七七二研究所推出的基于SPARC V8内核的抗辐射32位处理器
6+ 包括如下硬件特性:
7+
8+ | 硬件 | 描述 |
9+ | -- | -- |
10+ | 芯片型号| BM3803 |
11+ | CPU| SPARC V8 |
12+ | 主频| 50 - 100MHz |
13+ | SRAM | 2MB |
14+
15+ ## 2. 编译说明
16+
17+ | 环境 | 说明 |
18+ | --- | --- |
19+ | PC操作系统| Windows|
20+ | 编译器| sparc-gaisler-elf-gcc|
21+ | 构建工具| scons|
22+ 1 ) 下载源码
23+ ```
24+ git clone https://github.com/RT-Thread/rt-thread.git
25+ ```
26+ 2 ) 下载编译工具和调试工具
27+ ```
28+ 下载对应的编译工具链 https://www.gaisler.com/index.php/downloads/compilers
29+ 下载对应的调试工具 https://www.gaisler.com/index.php/downloads/debug-tools
30+ ```
31+ 3 ) 通过env配置工程
32+ ```
33+ 打开env工具,并切换到bsp/bm3803目录
34+ 输入menuconfig进行配置并保存
35+ ```
36+ 4 ) 编译
37+ ```
38+ 配置rtconfig.py中的EXEC_PATH为对应的编译工具目录
39+ 输入scons进行编译
40+ ```
41+ 如果编译正确无误,会产生rtthread-bm3803.elf、rtthread.bin文件。可以使用rtthread-bm3803.elf进行调试。
42+
43+ 5 ) 调试
44+ ```
45+ 调试环境配置请参考 https://www.gaisler.com/eclipse/qsg_sw_ide.pdf
46+ ```
You can’t perform that action at this time.
0 commit comments