You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
stm32f0xx-hal/openocd_program.sh

9 lines
186 B
Bash

#!/bin/sh
if (( $# != 1 )); then
echo "Usage:"
echo "$0 <filename of firmware in ELF format>"
exit 1
fi
openocd -f openocd.cfg -c "program $1 verify reset exit"