Cargo Features

riscv-rt has no features set by default.

[dependencies]
riscv-rt = { version = "0.17.1", features = ["post-init", "s-mode", "single-hart", "v-trap", "u-boot", "no-exceptions", "no-mhartid", "memory", "defmt", "pre-default-start-trap"] }
pre-init post-init
s-mode

Enables s-mode of riscv-rt-macros

single-hart no-mhartid? u-boot?
v-trap

Enables rt-v-trap of riscv, v-trap of riscv-rt-macros

u-boot = single-hart

Enables u-boot of riscv-rt-macros

no-interrupts no-exceptions
no-mhartid = single-hart
no-xie-xip no-xtvec device memory
defmt

Enables defmt

pre-default-start-trap

Enables pre-default-start-trap of riscv-rt-macros

riscv-rt has 10 features without comments.