https://github.com/elmot/f3-rust
STM32 MCU C+Rust firmware example
https://github.com/elmot/f3-rust
arm cargo clion cortex-m embedded mcu rust stm32
Last synced: 7 months ago
JSON representation
STM32 MCU C+Rust firmware example
- Host: GitHub
- URL: https://github.com/elmot/f3-rust
- Owner: elmot
- Created: 2019-07-26T12:37:59.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-01T10:52:36.000Z (almost 6 years ago)
- Last Synced: 2025-01-17T21:26:46.929Z (9 months ago)
- Topics: arm, cargo, clion, cortex-m, embedded, mcu, rust, stm32
- Language: C
- Homepage:
- Size: 527 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
Embedded Rust Sample Project
====* Languages: C + Rust
* Target Platform: ARM Cortex-M4F
* Build System: CMake + Cargo
* Tools: CLion, STM32CubeMX, GCC, OpenOCD
* Target Board: STM32F3-Discovery
* Toolchains: gcc-arm-none-eabiFile structure
---
```
+---Core // C sources + generated files
| +---Inc
| \---Src
+---Drivers // C libraries
+---rust
| \---f3blink // Rust module
| +---src
\---startup // MCU ASM startup code
```Quick Start
---
One needs to:
1. Open the project in CLion
2. Build `SETUP_RUST` config (do not run it) - that will
3. Run `OCD f3-rust` run configuration