rust-on-stm32
rust-on-stm32 copied to clipboard
Works on STM32F4 with Rust on the STM32F429-Discovery board with probe-rs on VSCode and WSL
A Rust Board Support Package (BSP) and Example Slint Application for STM32F429-Discovery Kit

#made-with-slint
The Tools that Used within this Post
- Rust Toolchain
- usbpid-win
- probe-rs
- VSCode
- WSL
- rust-analyzer plugin for VSCode
- probe-rs plugin for VSCode
- WSL plugin for VSCode
- GitHUB repository
- STM32F429ZI Discovery Board
- WSL - Windows Subsystem for Linux Ubuntu 22.04.2 LTS
- Slint
- Slint Plugin for VSCode
- lilos Async RTOS
Setup
For setup the whole development system on WSL and VSCode please refer to this post
Running and Debugging
- Clone the repository
- Open the folder in VSCode
- In terminal
ierturk@DESKTOP-JC8L4M1:~$ cargo run -release
Or
- It can be run through VSCode menus
Added Nix Flakes and DirEnv Support
Everything will be set by just typing following command
me@localhost:~$ nix develop
It needs to be installed nix package manager with enabled nix-command and flake support.
Conclusion
This is the Slint Carousel Demo running on the F4 MCU

Happy reading and coding!