|
|
3 周之前 | |
|---|---|---|
| .. | ||
| .settings | 6 月之前 | |
| applications | 3 周之前 | |
| board | 3 周之前 | |
| figures | 10 月之前 | |
| utilities | 7 月之前 | |
| .config | 3 周之前 | |
| .cproject | 6 月之前 | |
| .project | 6 月之前 | |
| Kconfig | 3 周之前 | |
| README.md | 3 周之前 | |
| SConscript | 9 月之前 | |
| SConstruct | 3 周之前 | |
| objdump.bat | 10 月之前 | |
| qemu.bat | 10 月之前 | |
| rtconfig.h | 3 周之前 | |
| rtconfig.py | 3 周之前 | |
| rtconfig_preinc.h | 6 月之前 | |
| template.cdkproj | 7 月之前 | |
| template.cdkws | 7 月之前 | |
暂无。
暂无。
当前BSP支持下述内核:
r920
当前BSP默认设置的内核是r920,该架构支持[F][D][V]扩展。
当需要使用SMP多核时,请使用scons --menuconfig使能SMP功能并配置CPU个数。
BSP根目录下存在qemu.bat脚本,生成可执行文件后可点击该脚本直接启动QEMU.
Linux用户可以直接使用qemu-system-riscv64命令启动QEMU.
qemu-system-riscv64 -machine xiaohui -smp cpus=2 -nographic -kernel rtthread.elf -cpu r920
注:若上述链接中的编译器与模拟器不能使用,可以使用下述CDK中的编译器与模拟器
下述调试方法以E906举例,本BSP操作方式一致,搭建完成RT-Thread开发环境,在BSP根目录使用env工具在当前目录打开env。
使用前执行一次menuconfig命令,更新rtconfig.h配置,然后在当前目录执行scons -j12命令编译生成可可执行文件。
下述是使用vscode调试的展示。
一起为RISC-V加油!