Results 355 comments of Andelf

That's a common error, use `rustup default nightly` to use the nightly release.

Use either of https://github.com/ch32-rs/wchisp and https://github.com/ch32-rs/wlink

I have a WeActStudio CH582F too. It's the primary board I used to develop ch58x-hal. 😄 You need to locate the `objcopy` tool to convert ELF to bin or ihex(.hex)...

Try this: ``` $ cargo install cargo-binutils $ rustup component add llvm-tools ``` https://github.com/rust-embedded/cargo-binutils

Timers are not implemented yet. 🥲 The only option is using the pac part to access the register blocks. As this crate supports [embassy framework](https://github.com/embassy-rs/embassy). The periodic can be implemented...

> [Timer](https://docs.rs/embassy-time/latest/embassy_time/struct.Timer.html) allows performing async delays. [Ticker](https://docs.rs/embassy-time/latest/embassy_time/struct.Ticker.html) allows periodic delays without drifting over time. FYI: https://docs.rs/embassy-time/latest/embassy_time/

The `asnync` tasks and `.await` uses the underlying `embassy_timer_driver` for timing and task swap. In ch58x-hal, I use the 64-bit SysTick to implement it, backed by a 32768Hz div interrupt.

@Yam6284 could you help to check if this is fixed in the nightly release?

I think this is implemented in #28. I haven't got a chip or EVT board to verify this.