Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Latest commit

 

History

History
25 lines (19 loc) · 377 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 377 Bytes

DEPRECATED - replaced by qingke-rt https://github.com/ch32-rs/qingke

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.
}