Skip to content

coverify/riscv-bare-metal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RISCV Bare Metal

A RISC-V bare-metal example with uart, exception, interrupt and kvmmap.

The tutorial is at https://mullerlee.cyou/2020/07/09/riscv-exception-interrupt/

Requirement

  • qemu
  • riscv64-linux-gnu-*

Run

mkdir build
make
make run

Debug

mkdir build
make
make debug
riscv64-linux-gnu-gdb -x debug.txt

About

A RISC-V bare metal example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 82.4%
  • Assembly 14.4%
  • Makefile 3.2%