STM32F3 Discovery
The LED Roulette example on the STM32F3 Discovery board, written in Rust. An experiment to get started with embedded development in Rust, as well as testing the IDE based development and debugging experience in JetBrains CLion while using Rust.
This project contains a copy of the code from the stm32f3-discovery crate as this crate is currently outdated and appears unmaintained.
Quickstart
Start OpenOCD, e.g. by running openocd.sh:
./openocd.sh
In another shell, flash and run the program:
cargo run --bin stm32f3disco-led-roulette
In the GDB prompt, run continue
.
(gdb) continue
Preparing the development environment
- For information on how to set up Rust, OpenOCD and GDB for the
thumbv7em-none-eabihf
target, see docs/SETUP.md. - For a JetBrains CLion specific setup, see docs/CLION.md.