Files
piezo-ddr-controller/scripts/1-openocd
2022-07-01 00:13:00 -07:00

8 lines
192 B
Bash
Executable File

#!/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`