#risc-v #wch #low-level #ch32v

no-std qingke

Low level access to WCH's QingKe RISC-V processors

12 releases

new 0.1.11 Apr 28, 2024
0.1.10 Apr 16, 2024
0.1.9 Mar 27, 2024
0.1.7 Jan 1, 2024
0.1.0 Feb 19, 2023

#350 in Embedded development

Download history 44/week @ 2024-01-01 193/week @ 2024-02-26 5/week @ 2024-03-04 155/week @ 2024-03-18 135/week @ 2024-03-25 66/week @ 2024-04-01 3/week @ 2024-04-08 131/week @ 2024-04-15

340 downloads per month
Used in 2 crates

MIT/Apache

14KB
306 lines

qingke & qingke-rt

Crates.io Crates.io docs.rs

Low level access to WCH's QingKe RISC-V processors.

qingke-rt

This crate provides the runtime support for QingKe RISC-V processors.

Usage

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

// Or if you are using the embassy framework
#[embassy_executor::main(entry = "qingke_rt::entry")]
async fn main(spawner: Spawner) -> ! { ... }

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

#[qingke_rt::highcode]
fn some_highcode_fn() {
    // ...
    // This fn will be loaded into the highcode(SRAM) section.
    // This is required for BLE, recommended for interrupt handles.
}

Dependencies

~200–365KB