4 releases
0.0.3 | Jan 1, 2024 |
---|---|
0.0.2 | Oct 25, 2023 |
0.0.1 | Oct 23, 2023 |
0.0.0 | Oct 11, 2023 |
#1518 in #run-time
7KB
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.
}
lib.rs
:
Placeholder - WIP
Dependencies
~1.5MB
~38K SLoC