2018-01-22 17:45:48 +00:00

7 lines
118 B
Bash
Executable File

#!/bin/bash
port=$1
addr=$2
file=$3
$(dirname $0)/stm32flash/stm32flash -g $addr -b 57600 -w "$file" -v /dev/"$port"