Crates.io | cube2rust |
lib.rs | cube2rust |
version | 0.0.1 |
source | src |
created_at | 2020-06-01 16:04:39.330123 |
updated_at | 2020-06-01 16:04:39.330123 |
description | A tool for generating a rust project from a STM32CubeMX ioc file |
homepage | |
repository | https://github.com/dimpolo/cube2rust/ |
max_upload_size | |
id | 248720 |
size | 204,003 |
A tool for generating a rust project from a STM32CubeMX ioc file.
The tool will run cargo init
in the same directory as the ioc file.
It will then add dependencies to Cargo.toml
and generate a src/main.rs
, .cargo/config
and memory.x
.
Currently, running this tool will overwrite everything, so use with caution.
$ cargo install cube2rust
From inside a directory containing an ioc file
$ cube2rust
From anywhere
$ cube2rust path/to/project_directory
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.