[package] name = "riscv-rt" version = "0.13.0" rust-version = "1.61" repository = "https://github.com/rust-embedded/riscv" authors = ["The RISC-V Team "] categories = ["embedded", "no-std"] description = "Minimal runtime / startup for RISC-V CPU's" documentation = "https://docs.rs/riscv-rt" keywords = ["riscv", "runtime", "startup"] license = "ISC" edition = "2021" links = "riscv-rt" # Prevent multiple versions of riscv-rt being linked [package.metadata.docs.rs] default-target = "riscv64imac-unknown-none-elf" targets = [ "riscv32i-unknown-none-elf", "riscv32imc-unknown-none-elf", "riscv32imac-unknown-none-elf", "riscv64imac-unknown-none-elf", "riscv64gc-unknown-none-elf", ] [dependencies] riscv = { path = "../riscv", version = "0.12.0" } riscv-pac = { path = "../riscv-pac", version = "0.2.0" } riscv-rt-macros = { path = "macros", version = "0.2.2" } [dev-dependencies] panic-halt = "0.2.0" [features] s-mode = ["riscv-rt-macros/s-mode"] single-hart = [] v-trap = ["riscv-rt-macros/v-trap"] u-boot = ["riscv-rt-macros/u-boot", "single-hart"] no-interrupts = [] no-exceptions = []