20 lines
623 B
Markdown
20 lines
623 B
Markdown
# Running the RTOS
|
|
|
|
This repositiory contains prototypical RISC-V implementation of ThreadX designed to run on the RISC-V VP by MINRES (tested on commit [d96cd4a](https://github.com/Minres/RISCV-VP/tree/d96cd4a01de1f4bcc77db3eceb57f5c144395847)).
|
|
|
|
## Building the RTOS
|
|
|
|
Four presets are provided, targetting RV32 and RV64 combined with GC or IMAC. The presets use rv32imac and rv64imac.
|
|
|
|
## Running on the VP
|
|
|
|
A run command can look like this:
|
|
|
|
```bash
|
|
riscv-vp --isa=rv64gc_m -f build/Debug/main.elf
|
|
```
|
|
|
|
## What is running?
|
|
|
|
The current implementation is just a demo, taken from the existing threadx qemu implementation.
|