Crates.io | qingke |
lib.rs | qingke |
version | |
source | src |
created_at | 2023-02-19 16:30:40.354285 |
updated_at | 2024-11-03 04:53:33.240498 |
description | Low level access to WCH's QingKe RISC-V processors |
homepage | https://github.com/ch32-rs/qingke |
repository | https://github.com/ch32-rs/qingke |
max_upload_size | |
id | 789146 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Low level access to WCH's QingKe RISC-V processors.
This crate provides the runtime support for QingKe RISC-V processors.
This provides riscv
/riscv-rt
like functionality, with the following differences:
highcode
handlingriscv-rt
crate#[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.
}