8000 GitHub - rticx-rs/rticx-riscv: RTICX distribution for single-core RISC-V targets · GitHub
[go: up one dir, main page]

Skip to content

About

RTICX distribution for single-core RISC-V targets

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

rticx-riscv

crates.io wiki CI QEMU

RTICX distribution for single-core RISC-V targets. Supports three mutually exclusive backends, each providing the low-level interrupt controller bindings, resource locking, and software-task infrastructure.

Supported targets

Feature Target Interrupt controller Locking mechanism
slic Generic RISC-V (CLINT/PLIC/ECLIC) riscv-slic software-level controller Threshold via SLIC lock() / run()
esp32c3 Espressif ESP32-C3 (RV32IMC) INTERRUPT_CORE0::cpu_int_thresh Threshold register (+ CS at ceiling = 15)
esp32c6 Espressif ESP32-C6 (RV32IMAC) PLIC_MX::mxint_thresh Threshold register (+ CS at ceiling = 15)

Exactly one of these features must be selected at build time. Selecting none or more than one produces a compile error.

Features

Feature Description
async Enable Async/Await software-tasks
swtasks Enable the non-async software-tasks compilation pass (rticx-sw-pass)
slic + mecall-backend or clint-backend Generic RISC-V target using the SLIC interrupt controller abstraction.
esp32c3 Espressif ESP32-C3. Uses FROM_CPU_INTR{0..3} as dispatcher software interrupts.
esp32c6 Espressif ESP32-C6 (machine-mode). Uses FROM_CPU_INTR{0..3} as dispatcher software interrupts.

Documentation

Full user guide is available in the project wiki.

Running examples in QEMU

make examples

# or individually
make examples-slic
make examples-esp

License

MIT

About

RTICX distribution for single-core RISC-V targets

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0