9 lines
168 B
Bash
Executable File

#!/bin/bash
cat << EOF | nc localhost 4444
reset halt
flash write_image erase /home/wn/Workspaces/mains-frequency-counter-stm32/cube/build/cube.elf
reset run
exit
EOF