mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 17:41:54 +00:00
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>
20 lines
511 B
INI
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
|