rt-thread/bsp/thead-smart
wormsX f60514cd71 formatting thead-smart bsp code 2021-08-06 17:22:11 +08:00
..
applications formatting thead-smart bsp code 2021-08-06 17:22:11 +08:00
drivers formatting thead-smart bsp code 2021-08-06 17:22:11 +08:00
.config [bsp/thead-smart] select ARCH_RISCV32 and ARCH_RISCV_FPU_S 2020-11-23 12:55:06 +08:00
Kconfig [bsp/thead-smart] select ARCH_RISCV32 and ARCH_RISCV_FPU_S 2020-11-23 12:55:06 +08:00
README.md [BSP] Update README.md for thread-smart 2020-11-26 22:17:49 +08:00
SConscript add t-head smart-evb bsp, and risc-v cpu e906 2020-09-11 10:18:24 +08:00
SConstruct add t-head smart-evb bsp, and risc-v cpu e906 2020-09-11 10:18:24 +08:00
gcc_csky.ld support T-HEAD Xuantie-E9xx Series CPU on Smart-EVB, eg. E906/F/D/P, E907/F/D/P 2021-07-14 20:12:55 +08:00
gdbinit support T-HEAD Xuantie-E9xx Series CPU on Smart-EVB, eg. E906/F/D/P, E907/F/D/P 2021-07-14 20:12:55 +08:00
rtconfig.h support T-HEAD Xuantie-E9xx Series CPU on Smart-EVB, eg. E906/F/D/P, E907/F/D/P 2021-07-14 20:12:55 +08:00
rtconfig.py support T-HEAD Xuantie-E9xx Series CPU on Smart-EVB, eg. E906/F/D/P, E907/F/D/P 2021-07-14 20:12:55 +08:00

README.md

T-HEAD SMART-EVB Introduction

SMART-EVB is a development board provided by T-HEAD, based on FPGA to provide implementation, integrating T-HEAD's RISC-V CPU (eg. E902/E906/C906) and C-SKY CPU (eg. E805/E804/E803/E802 ), integrates basic peripheral resources such as GPIO/TIMER/UART/RAM.

The main resources on board are as follows:

  1. SMART-EVB for E906/E906F/E906FD
res description
ISA RISCV
CPU E906
FREQ 20MHz
SRAM 768KB
  1. SMART-EVB for E804/E804F/E804D
res description
ISA C-SKY
CPU E804
FREQ 20MHz
SRAM 768KB

Compile T-HEAD BSP

SMART-EVB BSP supports GCC compiler, the version information is:

  1. SMART-EVB for E906/E906F/E906FD
IDE/Compiler version
GCC gcc version 8.4.0 (C-SKY RISCV Tools V1.9.6 B20200616)

run smart-evb bsp

  1. Connect JTAG
  2. Connect the serial port
  3. riscv64-unknown-elf-gdb rtthread-e906f.elf

run log as follows:

 \ | /
- RT -     Thread Operating System
 / | \     4.0.3 build Sep  2 2020
 2006 - 2020 Copyright by rt-thread team
msh >