A Rust HAL implementation for the CH32V0, CH32V1, CH32V2, CH32V3, CH32X0, CH32L1 family, with Embassy framework support and compatible with embedded-hal.
I have made a draft PR on ch32-hal-template https://github.com/ch32-rs/ch32-hal-template/pull/1 to add the option to not use embassy on the generated template but we would need a Delay implementation for qingke v4.
One could use this:
qingke::riscv::asm::delay(10_000_000);
for a template for beginners, I find that a real delay in milliseconds is easier to use.
I have made a draft PR on ch32-hal-template https://github.com/ch32-rs/ch32-hal-template/pull/1 to add the option to not use embassy on the generated template but we would need a Delay implementation for qingke v4.
One could use this:
for a template for beginners, I find that a real delay in milliseconds is easier to use.