stm32f3-discovery
Board support package for the STM32F3DISCOVERY board.
To build embedded programs using this template you'll need:
Rust 1.31, 1.30-beta, nightly-2018-09-13 or a newer toolchain. e.g. rustup
default beta
The cargo generate
subcommand. Installation
instructions.
rust-std
components (pre-compiled core
crate) for the ARM Cortex-M
target.
console
$ cargo install cargo-generate
$ rustup target add thumbv7em-none-eabihf
NOTE: This is the very short version that only covers building programs. For the long version, which additionally covers flashing, running and debugging programs, check the embedded Rust book and the Discover book.
``console
$ cargo generate --git https://github.com/rubberduck203/stm32f3-discovery-quickstart
Project Name: app
Creating project called
app`...
Done! New project created /tmp/app
$ cd app $ cargo build ```
This template includes launch configurations for debugging CortexM programs with Visual Studio Code located in the .vscode/
directory.
See .vscode/README.md for more information.
If you're not using VS Code, you can safely delete the directory from the generated project.
This template is 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.