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
Currently, running this tool will overwrite everything, so use with caution.
$ cargo install cube2rust
From inside a directory containing an ioc file
$ cube2rust path/to/project_directory
- Only STM32F0
- GPIO, RCC, SPI, USART, I2C
A struct containing all the collected information from the ioc file
Generates a rust project from the given configuration
Loads a project configuration from the ioc file content
Parses the ioc file content into nested HashMaps