ch32v-rt

Crates.ioch32v-rt
lib.rsch32v-rt
version0.0.3
sourcesrc
created_at2023-10-11 14:26:30.705016
updated_at2024-01-01 16:00:41.202739
descriptionDEPRECATED: use qingke-rt instead
homepagehttps://github.com/ch32v-rs/ch32v-rt
repositoryhttps://github.com/ch32v-rs/ch32v-rt
max_upload_size
id1000344
size13,995
Andelf (andelf)

documentation

https://docs.rs/ch32v-rt

README

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.
}
Commit count: 0

cargo fmt