summaryrefslogtreecommitdiff
path: root/board/discovery-stm32f072/openocd-flash.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'board/discovery-stm32f072/openocd-flash.cfg')
-rw-r--r--board/discovery-stm32f072/openocd-flash.cfg15
1 files changed, 15 insertions, 0 deletions
diff --git a/board/discovery-stm32f072/openocd-flash.cfg b/board/discovery-stm32f072/openocd-flash.cfg
new file mode 100644
index 0000000000..eed8d03f36
--- /dev/null
+++ b/board/discovery-stm32f072/openocd-flash.cfg
@@ -0,0 +1,15 @@
+# Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+source [find board/stm32f0discovery.cfg]
+
+gdb_port 0
+tcl_port 0
+telnet_port 0
+init
+reset init
+flash write_image erase $BUILD_DIR/ec.bin 0x08000000
+reset halt
+resume
+shutdown