ch32v-rt 0.0.2

Minimal runtime / startup for WCH's RISC-V MCUs, managed by the ch32-rs team
Documentation

ch32v-rt

Runtime support for WCH's 32bit RISC-V MCUs.

Usage

#[ch32v_rt::interrupt]
fn UART0() {
    // ...
}

#[ch32v_rt::entry]
fn main() -> ! {
    loop {}
}

#[ch32v_rt::highcode]
fn some_highcode_fn() {
    // ...
    // This fn will be loaded into the highcode(SRAM) section.
}