#!/bin/sh openocd \ -f interface/stlink-v2-1.cfg\ -c "transport select hla_swd"\ -f target/stm32f7x.cfg \ -c init\ -c "reset halt"\ -c "flash write_image erase "build/mTask.bin" 0x08000000"\ -c "reset run"\ -c shutdown