#!/bin/sh set -ex # Flashing requires openocd to be listening for connections cd /tmp openocd -f interface/stlink-v2-1.cfg -f target/stm32f3x.cfg # then in a different tab, just `cargo run`