https://github.com/inokawa/rust-stm32f4-discovery
Just a practice of STM32F4 Discovery with Rust.
https://github.com/inokawa/rust-stm32f4-discovery
Last synced: 6 months ago
JSON representation
Just a practice of STM32F4 Discovery with Rust.
- Host: GitHub
- URL: https://github.com/inokawa/rust-stm32f4-discovery
- Owner: inokawa
- Created: 2020-08-21T12:25:03.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-18T08:46:10.000Z (over 4 years ago)
- Last Synced: 2025-02-10T06:31:28.081Z (8 months ago)
- Language: Rust
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rust-stm32f4-discovery
Just a practice of [STM32F4 Discovery](https://www.st.com/ja/evaluation-tools/stm32f4discovery.html) with Rust.
This is built with template from https://github.com/rust-embedded/cortex-m-quickstart, mainly using [cortex-m](https://crates.io/crates/cortex-m) and [stm32f4](https://crates.io/crates/stm32f4) crate.
## Setup
Follow https://rust-embedded.github.io/book/intro/install.html (or https://tomoyuki-nakabayashi.github.io/book/intro/install.html in Japanese).
## Flash
Connect board to PC with USB.
Run
```
openocd
```And run in the other terminal
```
cargo run
# cargo run --release
```And enter `continue` twice.