Template repo for Rust hpm-hal
-
Install
cargo-generate
:cargo install cargo-generate
-
Create your project:
cargo generate --git https://github.com/hpmicro-rs/hpm-template
-
Choose your MCU
-
Open created project in VSCode
-
Search
TODO
in the generated project, updatememory.x
,.cargo/config.toml
according to your chosen MCU