STM32 Hello World using VS Code | RUST Lang

Опубликовано: 27 Июль 2026
на канале: Muhammad Abdullah
2,716
49

In this video we will learn step by step how to build and flash Rust code to print and display Hello, world program by STM32 F3 Discovery Microcontroller using VS Code.

Urdu version:    • STM32 Hello World using VS Code | RUST Lang  

Build command:



******************************************************
cargo build --target thumbv7em-none-eabihf
******************************************************

Cargo .config file commands:



******************************************************
[target.thumbv7em-none-eabihf]
runner = "gdb-multiarch -q -x openocd.gdb"
rustflags = [
"-C", "link-arg=-Tlink.x",
]
[build]
target = "thumbv7em-none-eabihf"

******************************************************

Openocd.gdb commands:

******************************************************
target remote :3333
monitor tpiu config internal itm.txt uart off 8000000
monitor itm port 0 on
load
break main
continue
continue
******************************************************

Itm commands:

******************************************************
touch itm.txt
itmdump -F -f itm.txt
******************************************************

Discovery Repository link: https://github.com/rust-embedded/disc...

Rust embedded Discovery Book link: https://docs.rust-embedded.org/discovery

My Email: [email protected]
Facebook ID: https://www.facebook.com/profile.php?...