From 674b0dfab4c1959903faeea060e41cae7a300f7d Mon Sep 17 00:00:00 2001 From: Travis Geiselbrecht Date: Thu, 5 Nov 2015 17:21:25 -0800 Subject: [PATCH] [scripts] add script to automate building and flashing a stm32f7-discovery board --- scripts/do-stm32f7-disco-test | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/do-stm32f7-disco-test diff --git a/scripts/do-stm32f7-disco-test b/scripts/do-stm32f7-disco-test new file mode 100755 index 00000000..b947e54a --- /dev/null +++ b/scripts/do-stm32f7-disco-test @@ -0,0 +1,7 @@ +#!/bin/sh + +export PROJECT=stm32f746g-disco-test + +make -j8 && +openocd -f interface/stlink-v2-1.cfg -f board/stm32756g_eval.cfg \ + -c "program build-$PROJECT/lk.bin reset exit 0x08000000"