rt-thread/bsp/bm3803
Tangyuxin d724eed9fc
分离内存分配接口与内存分配算法 (#5175)
* [kernel][mem] Multiple instances of small memory allocation algorithm

* [kernel][mem] Change small memory management algorithm memory header flag

* [kernel][mem] Fix assertion problem

* [kernel][slab] Multiple instances of slab memory management algorithm

* [kernel][memheap] Remove rt_malloc/rt_free/rt_realloc and other related memory interfaces

* [kernel][mem] Clean up memory space of small memory management objects

* [kernel][kservice] Add memory application interface and thread protection interface

* [kernel][kservice] Fix function return value problem

* [kernel][memheap] Optimize memheaptrace print

* [kernel][memheap] Support best mode

* [kernel][memory] Remove semaphore lock

* [kernel][memheap] Add locked flag

* [kernel][memory] Support malloc memory in interrupt

* [kernel][memheap] Add 'memheapcheck' cmd

* [kernel][mem] Fix failure to request full memory

* [kernel][memheap] Fix compilation warning

* [kernel][mem] Fix mem realloc ASSERT

* [examples][testcases] Add small mem testcase

* [examples][mem_tc] Modify test memory size

* [examples][testcases] Add slab memory management algorithm test case

* [examples][testcases] fix small memory management algorithm test case

* [kernel][memory] Adjusting memory allocation algorithm object definition and interface

* [kernel][memory] Fix compilation warning

* [examples][utest] Fix mem test case

* [examples][utest] fix slab test case

* [utest][testcases] Shorten test time

* [kernel][memory] Formatting code

* [examples][utest] Adjust test run time

* [examples][utest] Formatting code

* [bsp] update all rtconfig.h
2021-12-16 16:23:58 +08:00
..
applications 修改了license header,修改了sconscipt,修改了board.c指针的强制转换类型,interrupt.c添加了新的函数。 2020-10-21 15:09:33 +08:00
drivers 修改了license header,修改了sconscipt,修改了board.c指针的强制转换类型,interrupt.c添加了新的函数。 2020-10-21 15:09:33 +08:00
.config 分离内存分配接口与内存分配算法 (#5175) 2021-12-16 16:23:58 +08:00
Kconfig Add support for architecture sparc-v8 and soc bm3803. 2020-10-16 11:40:00 +08:00
README.md 添加了README.md 2020-10-24 18:01:18 +08:00
SConscript Add support for architecture sparc-v8 and soc bm3803. 2020-10-16 11:40:00 +08:00
SConstruct Revert "Fix compiler flags issue" 2021-10-14 14:36:18 +08:00
bm3803.lds Add support for architecture sparc-v8 and soc bm3803. 2020-10-16 11:40:00 +08:00
rtconfig.h 分离内存分配接口与内存分配算法 (#5175) 2021-12-16 16:23:58 +08:00
rtconfig.py Add support for architecture sparc-v8 and soc bm3803. 2020-10-16 11:40:00 +08:00

README.md

BM3803板级支持包

1. 简介

BM3803是中国航天科技集团公司第九研究院第七七二研究所推出的基于SPARC V8内核的抗辐射32位处理器 包括如下硬件特性:

硬件 描述
芯片型号 BM3803
CPU SPARC V8
主频 50 - 100MHz
SRAM 2MB

2. 编译说明

环境 说明
PC操作系统 Windows
编译器 sparc-gaisler-elf-gcc
构建工具 scons
  1. 下载源码
git clone https://github.com/RT-Thread/rt-thread.git
  1. 下载编译工具和调试工具
下载对应的编译工具链 https://www.gaisler.com/index.php/downloads/compilers
下载对应的调试工具 https://www.gaisler.com/index.php/downloads/debug-tools
  1. 通过env配置工程
打开env工具并切换到bsp/bm3803目录
输入menuconfig进行配置并保存
  1. 编译
配置rtconfig.py中的EXEC_PATH为对应的编译工具目录
输入scons进行编译

如果编译正确无误会产生rtthread-bm3803.elf、rtthread.bin文件。可以使用rtthread-bm3803.elf进行调试。

  1. 调试
调试环境配置请参考 https://www.gaisler.com/eclipse/qsg_sw_ide.pdf