Files
OpenCellular/board/discovery/openocd-flash.cfg
Anton Staaf af7fb66ae3 Discovery: Add OpenOCD configuration file
This allows the "make flash" command to work for the Discovery board.

Signed-off-by: Anton Staaf <robotboy@chromium.org>

BRANCH=None
BUG=None
TEST=make buildall -j
     cd board/discovery
     make flash

Change-Id: Ifa3c1eca58b80093b47a8fe25b47d29dba923d6b
Reviewed-on: https://chromium-review.googlesource.com/287439
Trybot-Ready: Anton Staaf <robotboy@chromium.org>
Tested-by: Anton Staaf <robotboy@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Anton Staaf <robotboy@chromium.org>
2015-07-27 19:30:49 +00:00

20 lines
511 B
INI

# Copyright (c) 2015 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/stm32ldiscovery.cfg]
# For flashing, force the board into reset on connect, this ensures that
# code running on the core can't interfere with programming.
reset_config connect_assert_srst
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