Clone this repository
Flash blinky or echo example
openocd -f nucleo.cfg -c"program target/thumbv7m-none-eabi/debug/examples/gpio_hal_blinky verify reset exit"
openocd -f nucleo.cfg -c"program target/thumbv7m-none-eabi/debug/examples/serial_hal_blocking_echo verify reset exit"
This repository is based on https://github.com/therealprof/nucleo-f103rb