cargo flash --chip stm32f401re --example button-interrupt
NOTE: The examples that uses semihosting doesn't work with cargo flash yet.
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