Skip to content

rubberduck203/stm32f3-discovery-quickstart

Repository files navigation

stm32f3-discovery-quickstart

Template to develop bare metal Rust applications for the STM32F3DISCOVERY board. Utilizes the stm32f3-discovery board support crate.

Dependencies

To build embedded programs using this template you'll need:

  • Rust 1.31 or a newer toolchain.
  • The cargo generate subcommand. Installation instructions.
  • rust-std components (pre-compiled core crate) for the ARM Cortex-M target.
$ cargo install cargo-generate
$ rustup target add thumbv7em-none-eabihf

Using this template

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.

$ 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

Examples

For examples, see the examples directory of the stm32f3-discovery repository.

VS Code

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.

License

This template is licensed under either of

at your option.

Contribution

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.

Attributions

This project is based on and forked from the cortex-m-quickstart project.

About

Template to develop bare metal Rust applications for STM32F3DISCOVERY board

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published