A template for use with cargo-generate to create applications targeting WCH's line of MCU.
Please make sure you have installed all prerequisites first!
To generate a project using this template:
cargo generate ch32-rs/ch32-hal-template
If cargo generate
is not installed:
cargo install cargo-generate
check it
If you need doc about you use crates, run this command
cargo doc --open
If you are new to rust embedded, you can refer to detailed instructions Setting Up a Development Environment chapter of The Rust on ESP Book.
If you don't have rustup
installed yet, follow the instructions on the rustup.rs site
cargo install cargo-generate
cargo install --git https://github.com/ch32-rs/wlink
Note
wlink needs to be installed:
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.