Clone this repository
Start openocd
openocd
In another terminal, run your example of choice
cargo run --example gpio_hal_blinky
This repository is based on https://github.com/therealprof/stm32f407g-disc