stm32f042-hal 0.4.1

Peripheral access API for STM32F042 microcontrollers
1
2
3
4
5
6
7
8
#!/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"