1#!/usr/bin/env bash
2
3DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4
5export PROJECT=stm32f746g-disco-test
6
7$DIR/make-parallel &&
8openocd -f interface/stlink.cfg -f board/stm327x6g_eval.cfg \
9    -c "program build-$PROJECT/lk.bin reset exit 0x08000000"
10